Category: Workflow

0

Export your git branch to a zip folder

Today I found myself in a situation where my git host was down and I wanted to share my project with a colleague. The easiest way to do so is to use the git...

0

What is a git bare repository and when to use it

A lot of times, I see questions about the difference between an ordinary git repository and a bare git repository. So I decided to quickly made up picture of the actual difference, you know the...

0

Fetch branches from multiple remotes

Git lets you refer to multiple remotes from your local. This strategy helps you refer to different forks of the same repository. However, 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 realize that you forgot to add a file pattern into your .gitignore due to which some unnecessary 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 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...