Skip to content

Instantly share code, notes, and snippets.

@modsognir
Created April 7, 2011 04:29
Show Gist options
  • Save modsognir/907039 to your computer and use it in GitHub Desktop.
Save modsognir/907039 to your computer and use it in GitHub Desktop.
quick git log parser
features = `git log | grep Feature:`
bugs = `git log | grep Bugfix:`
refactors = `git log | grep Refactor:`
out = ""
out += "Features:\n"
out += features.gsub('Feature:', "")
out += "Bugfixes:\n"
out += bugs.gsub('Bugfix:', "")
out += "Refactors:\n"
out += refactors.gsub('Refactor:', "")
puts out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment