A collection of git commands and also a method of recording my git knowledge
Add changes hunk by hunk (aka patch
)
git add -p
Edit previous commits
git rebase -i <commit ID>
Add all untracked files to the index without adding content (good for use with patch
)