Re:Ask HN: What is your Git commit/push flow?
by jedberg on Thursday March 17, 2022 @01:33PM
(#30713734)
Same. I used to make a commit every time I got up so as not to lose work, but that just littered the history. Then I switched to keeping it in Dropbox or using Syncthing for work stuff, so now I only have to commit when I get to a stopping point or to share with others.
[ Parent
| on HN ]
Re:Ask HN: What is your Git commit/push flow?
by meowface on Thursday March 17, 2022 @01:39PM
(#30713804)
Yep. Dropbox is also a great safety net for when I mess something up in between commits. I've had a few times where I've deleted or changed some code that I couldn't restore just via undos. Normally I'd pretty much be screwed, but Dropbox retains a diff every time a file is saved, so it's basically impossible for me to lose anything.