Jenimech

Posts Tagged ‘git

I use a lot of unfuddle, so always in my commit use this message:

- Ticket #11: my description

then if I need find the commits for that ticket, only need type in the console this:


$ git log master --reverse --abbrev-commit --pretty=oneline | grep "#11"

and return something like this:


34ab0df Ticket #11: description 1
8a40fd1 Ticket #11: description 2

Advertisements
Tags:


  • eugeniach: Here are some references to made a report with git log http://gitref.org/inspect/
  • hrbg: This is so useful, I'm going to use it every day!!

Categories