Git tips from the trenches

Ochronus About me RSS Git tips from the trenches Facebook Twitter Google+ February 1, 2014 by Csaba Okrona I've gathered a handful of these with varying complexity hoping that it can give a boost to you. I will not cover git or VCS basics at all, I'm assuming you're already a git-addict. So fire up your favorite text editor and bear with me. After a while if you branch a lot you'll se your git branch -a output is polluted like hell (if you havent't cleaned up). It all the more true if you're in a team. So, from time to time you'll do the Big Spring Cleaning only to find it hard to remember which branch you can delete and which you shouldn't. Well, just check out your mainline branch (usually master) and: $ git checkout master $ git branch --merged to see all the branches that have already been merged to the current branch (master in...

Linked on 2014-02-02 20:46:33 | Similar Links