Git changeset from logs
Use below command to generate a simple changeset.
$ git log --decorate --pretty='Commit: %Cgreen%s%n%CresetAuthor:%Cred %an%n%CresetDate:%Creset %cd%n %b' --color > ./CHANGES
This will create a file called CHANGES
in your current directory with content like:
Commit: COMMIT MSG
Author: Sameer Rahmani
Date: Thu Apr 10 23:58:43 2014 +0430
of course you can add an alias for this just like:
$ git config --global alias.changeset "log --decorate --pretty='Commit: %Cgreen%s%n%CresetAuthor:%Cred %an%n%CresetDate:%Creset %cd%n %b' --color"
Written by Sameer Rahmani
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#