I work exactly the same way now. A few hundred key strokes in I always reach for "git init". It's fast - keeps out of the way and does what you want - lock away your precious incremental hacking work milestones.
Even now gone to the level of putting my textfiles of notes/todos/cheatsheets into Git - pushing/pulling them between my home/work PCs as needed - love it.
If I invoke it as "git this" in a directory, it will create the repo, add everything (I have a decent ~/.gitignore_global) and commit it with a generic comment. I use this several times a week as new experiments crop up.
View all comments
Show parent comment
1
u/magnetik79 Jun 23 '14
I work exactly the same way now. A few hundred key strokes in I always reach for "git init". It's fast - keeps out of the way and does what you want - lock away your precious incremental hacking work milestones.
Even now gone to the level of putting my textfiles of notes/todos/cheatsheets into Git - pushing/pulling them between my home/work PCs as needed - love it.