r/claude Feb 27 '26

Tips Finally Happened

So i hadnt seen anything on here posting about this so i wanted to make sure that people knew. I was working on a project trying to simplify a process that im working on as a database with a form that would talk back to it after search. Well we finally got the end and i downloaded the file. well i decided to ask one more question and the whole window disappeared along with the gs code. gone. hours of work gone. i havent been able to get back to where i was and now its pulling teeth to describe where we were etc. in the future ill definitly immediatly download the file and its a good learning lesson but good lord it was so insanely frustrating.

Edit: so I hadn’t turned memory on because I assumed that it automatically was just a feature. Also I got a GitHub account and also learned about cowork and I set up a file on my desktop.

41 Upvotes

112 comments sorted by

View all comments

1

u/buddha2490 Mar 02 '26

Like others said: push to fit after any code change. Fortunately, Claude makes this easy. Make a change, document, push, continue. This used to be a task that would at least take some effort, but now it’s nothing.

Git is essential for group dev projects. But even if you are alone, I just can’t imagine living without. Because accidents like that happen often, so so often.

1

u/blindexhibitionist Mar 02 '26

I still don’t know how it would have worked because it was an appscript for a google sheet. Like yes I should have saved it somewhere. But is this still something that I should have been saving in GitHub even if it was for an appscript?

1

u/buddha2490 Mar 02 '26

Literally any script can be saved in GitHub. If the script was save on disk somewhere, you can push that to git.

Every time you start a new project, start with creating a git repo. Claude code will actually do this for you if you ask. Then it is as simple as saving your code to disk somewhere

1

u/blindexhibitionist Mar 02 '26

Good to know. Thank you