Display condensed log of changes to current git repository

git log --pretty=oneline
Assuming you are working within a git repository, you can run the above command & see what has changed in reverse chronological order, with one commit per line. Other formatting variations to 'oneline' include 'short', 'medium', 'full', 'fuller', 'email' or 'raw'.
Sample Output
9f86a48d60a2efde9a2ab827cf4338b4dac63adf added 'devr' environment & removed old config files
9069c583dc56ca6e152d0fc33cc29a8face951c6 updated db dumps
705911d9702e9c8a7e74e87f0b9656fd6bc52a3f quick mod to database yaml for getting devr working
98cc10bc39cf294501cb3109e8fae3900490c129 added placeholder file for active_scaffold dir
a3e0a4380bbbe545910055648e85448dfa52f210 fixed issue with commas not being escaped in result set name
1b45bda02d0bb52d866a93536eb924794ddd35e6 improved highlighting behavior when changing pages, approving all, or reviewing. add paginaiton to 
b55776b55b0262a26b6844f23e7f4069e54f824d UPDATED IMPORT to allow for multiple result sets to be imported.
b4c60a389c6158d50be380158c5c3ccf972bbb22 added "approve all" function allowing all pages for a search result to be approved.
.... etc

2009-03-27 04:16:43

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: