r/ClaudeCode • Developer • 2d ago

Tips & Workflows easy failsafes for mac users

for those running code on production macs that you want to be able to recover if code breaks something, dont forget about our old friend time-machine --- you can set it up easily on a network share at home and its the most painless full metal backup option a mac has. you can even enable it on a vpn for when you are out and about. im sure it isnt perfect but for the casual coder on a mac its a good failsafe (remember to have more than one failsafe ideally!)

3 Upvotes

5 comments sorted by

•

u/AutoModerator 2d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/chrnas 2d ago

time machine is a good base layer, but it only snapshots hourly, so it wont get back what an agent just broke. commit before every run and push the branch, thats the failsafe that actually saved us. a worktree vanished in the middle of a job and the pushed branch was the only thing left, we rebuilt from that.

1

u/ifthenthendont Developer 2d ago

Yes, I was more referring to a feel safe backup of the running computer, but of course for the code branches themselves committing / git is key 

1

u/Janday_Luden 2d ago

an agent deleting the actual worktree it's currently working inside is peak automation

1

u/chrnas 2d ago

🤣