Jump To …

smart-log.rb

#

This is a super simple alias for the most badass of log outputs that git offers. Uses git log —graph under the hood.

Thanks to @ben_h for this one!

GitSmart.register 'smart-log' do |repo, args|
#

Super simple, passes the args through to git log, but ratchets up the badassness quotient.

  repo.log_to_shell('--pretty=format:%Cblue%h%d%Creset %ar %Cgreen%an%Creset %s', '--graph', *args)
end