Tatva-Artha

meaning of "it"

How to diff git changes

without comments

git diff [commit_old]..[commit_new]
# where commit_old and commit_new are first 6 characters of git commit SHA ID

If you need to diff with current head, its even easier:

git diff [commit_old]
http://www.tatvartha.com/wp-content/plugins/sociofluid/images/digg_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/reddit_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/stumbleupon_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/delicious_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/google_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/twitter_16.png

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Written by Sharad

December 11th, 2009 at 12:08 am

Posted in All

Leave a Reply