Tagged: tips

Setup p4merge as a diff tool for git 0

Setup p4merge as a diff tool for git

If you are already here, you probably know that p4merge is a really amazing tool for visualizing diffs. To set it up with git on an ubuntu system, simply do the following Download p4merge...

Count your git commits locally 0

Count your git commits locally

Ever wondered how many commits you have made in your repository? Of course you can always upload to github and see the commits but why upload when you can see it locally. This is...

How to rename a local branch in git 0

How to rename a local branch in git

Its not always possible to come up with that perfect branch name at first attempt. Git lets you easily rename a local branch by issuing the following command. git branch -m old-branch-name new-branch-name