Category: Workflow

git-logo 0

What is a git bare repository and when to use it

A lot of times, I see ques­tions about the dif­fer­ence between an ordi­nary git repos­i­tory and a bare git repos­i­tory. So I decided to quickly made up pic­ture of the actual dif­fer­ence, you know the…

git-logo 0

Fetch branches from multiple remotes

Git lets you refer to mul­ti­ple remotes from your local. This strat­egy helps you refer to dif­fer­ent forks of the same repos­i­tory. How­ever, this also means that time and again you will need to…

How to unstage files in git 0

How to unstage files in git

Its not unusual to do git add and real­ize that you for­got to add a file pat­tern into your .git­ig­nore due to which some unnec­es­sary files got added into your stage area. There are…

Setup p4merge as a diff tool for git 0

Setup p4merge as a diff tool for git

If you are already here, you prob­a­bly know that p4merge is a really amaz­ing tool for visu­al­iz­ing diffs. To set it up with git on an ubuntu sys­tem, sim­ply do the fol­low­ing Down­load p4merge…