Top "Branch" questions

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

How do I clone a single branch in Git?

I have a local Git repository called 'skeleton' that I use for storing project skeletons. It has a few branches, …

git branch git-clone
Branch from a previous commit using Git

If I have n commits, how can I branch from the n-3 commit? I can see the hash of every …

git branch git-branch
Default behavior of "git push" without a branch specified

I use the following command to push to my remote branch: git push origin sandbox If I say git push …

git branch git-branch git-push
How can I delete all Git branches which have been merged?

I have many Git branches. How do I delete branches which have already been merged? Is there an easy way …

git github version-control branch feature-branch
Find out which remote branch a local branch is tracking

See also: How can I see which Git branches are tracking which remote / upstream branch? How can I find out …

git branch git-remote
What are some examples of commonly used practices for naming git branches?

I've been using a local git repository interacting with my group's CVS repository for several months, now. I've made an …

git naming-conventions branch
How do I list all remote branches in Git 1.7+?

I've tried git branch -r, but that only lists remote branches that I've tracked locally. How do I find the …

git branch git-branch remote-branch
What do "branch", "tag" and "trunk" mean in Subversion repositories?

I've seen these words a lot around Subversion (and I guess general repository) discussions. I have been using SVN for …

svn tags branch terminology trunk
How can I get a list of Git branches, ordered by most recent commit?

I want to get a list of all the branches in a Git repository with the "freshest" branches at the …

git version-control branch