Viewing git diffs on the command line is OK for small diffs, but I like viewing larger ones in a […]

You can list all branches which have not been merged into current branch. unmerged branches git branch -a –no-merged The […]

I am assuming here that you are aware of version control, continuous integration and do releases on a UNIX based […]

#!/usr/bin/env ruby puts ‘Tag version?’ tag = gets.chomp tag = “v#{tag}” unless tag[0] == ‘v’ `git commit -m ‘Bump version […]

Use git lg instead ! type this: git config –global alias.lg “log –graph –pretty=format:’%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset’ –abbrev-commit […]

for k in $(git branch | sed /*/d); do if [ -n “$(git log -1 –before=’1 week ago’ -s $k)” […]

Oh no ! I just committed, providing a wrong message. No problemo, you can just edit the log of the […]

If you don’t need the Git history when cloning (which is often the case if you are just forking to […]

A fun way to read commit logs: Example: Use it for your own repo like this:[github username]/[repo name]