Play Git Like A Violin
Howard Yeh posts about his git aliases:
People think that playing the violin is hard. But that’s only when you are learning and practicing. When you are actually playing, it’s as natural as breathing. So it is with Git.
I like this one, which is useful for fixing small typos:
git caa |
which is an alias for:
git commit -a --amend -C HEAD |
This adds all the changes to the staging area, and commit it as an amendment to the previous commit, using the same commit message. Effectively, I am saying: “put whatever I’ve done into the previous commit.”
Reply