Internet Archive News

updates about archive.org

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.”

Originally posted on Raj at the Internet Archive by raj.
Advertisements

Written by internetarchive

March 25, 2011 at 12:07 am

Posted in internet archive

%d bloggers like this: