Month: September 2018

How to set up free merge and diff tool (p4merge) for GIT

This is just a backup of this article as I found it very handy: Install p4merge from Add below to your .gitconfig [merge] keepBackup = false tool = p4merge [mergetool “p4merge”] cmd = /Applications/ “\”$PWD/$BASE\”” “\”$PWD/$REMOTE\”” “\”$PWD/$LOCAL\”” “\”$PWD/$MERGED\”” keepTemporaries = false trustExitCode = false keepBackup = false [diff] tool = p4merge [difftool “p4merge”]…

Read the full article

Adding a command Alias to git

Imagine you wan to run: git log –all –graph –decorate –oneline But you don’t wan t to write all that each time but instead something shorter like “logh” Well you can add a “git alias” in this way: git config –global alias.logh “log –all –graph –decorate –oneline” Voila, go and try it out! just do…

Read the full article