Jenimech

Archive for November 2011

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:

If you always install gems with the options –no-ri –no-rdoc
maybe will be better if you set this as a default option in your
~/.gemrc file, like this:


:update_sources: true
:bulk_threshold: 1000
:sources:
- http://rubygems.org/
- http://gems.github.com
- http://gemcutter.org
update: "--no-ri --no-rdoc"
install: "--no-ri --no-rdoc"
:verbose: true
:benchmark: false
:backtrace: false

If you don’t have this file, you can create it, and put the code above.



  • None
  • 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