Top "Branch" questions

A "branch" is a term used in version control systems to represent an independent line of development.

How to find the current git branch in detached HEAD state

I can find the current git branch name by doing either of these: git branch | awk '/^\*/ { print $2 }' git …

git bash jenkins branch travis-ci
TFS build-server build of branch?

We have a TFS 2008 project with two branches ("Main" and "NewFeature"). Each is a complete, independent "copy" (variant) of the …

tfs mapping branch build-server
Git Merge and Fixing Mixed Spaces and Tabs with two Branches

I've gone through some similar SOQ's and have not seen an adequate solution for this case. I've noticed that in …

git merge branch spaces git-branch
Named Branches vs Multiple Repositories

We're currently using subversion on a relatively large codebase. Each release gets its own branch, and fixes are performed against …

version-control mercurial branch dvcs
Where did I branch from?

I got back on an old project and I ran the nice git status to figure out what was going …

git branch git-branch
warning: refname 'xxx' is ambiguous when using git-svn

I am using git as a frontend to Subversion (via git svn). So, for every svn trunk/branch I have …

git branch git-svn ambiguity
TFS: submit changes done locally in one branch to another branch

I made changes to a lot of files, and in the meantime I figured I rather commit this untested code …

visual-studio-2010 tfs branch tfs-power-tools
show current GIT branch name in windows command prompt

Is is possible to display current git branch name in regular windows command prompt? Let's say on windows 7 or 10.

windows git branch command-prompt
Mercurial branching and bookmarks

I read some information about named branches and working with bookmarks. Unfortunately I still don't see a difference between them. …

mercurial branch bookmarks
Git: how to maintain permanent parallel branches

We have project (PHP application), but instalation for each client vary, sometimes very little, sometimes more. Still, big part of …

git merge branch rebase