I’m not sure of the best place to put this, but I wanted to share ideas and see what git (or other source control packages) commands people use a lot. Obviously there are places for specific questions, like Stackoverflow, but I was curious if anyone writing text adventures used particular ones.
I suppose first we all probably are familiar with:
git clone git fetch git pull git push
Then, to create commits and so forth,
git add git commit git pull git push
Or to see what changed
git diff --word-diff # to see only words that changed, handy if we just tweak “credits” or something
git diff --U0 # to see contextless changes
If we did a bunch of work, or fixed a bunch of miscellaneous bugs, and want to divide it up into different commits…
git add --patch story.ni
If we want to get rid of that last commit …
git reset HEAD~1
Anyway, these were the ones that helped me get rid of a lot of busy work, and I’m curious what other people have found that maybe gave, or gives, them a big boost.