Top "Branch" questions

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

Line endings messed up in Git - how to track changes from another branch after a huge line ending fix?

We are working with a 3rd party PHP engine that gets regular updates. The releases are kept on a separate …

git history rewrite branch newline
How to update Subversion externals

We have several subversion repositories: one for common code and one for each top level project. The top level projects …

svn branch svn-externals
Git create a new branch with only a specified directory and its history then push to new repository

I'd like to create a new branch in my repo that only includes files from a specific directory in master …

git branch git-filter-branch
When should i create a new branch?

I am using git as the first time for a versioning system. I am starting a new project, and therefore …

git branch versioning
Git - Automatically fast forward all tracking branches on pull

I've set up tracking branches with the --track option, and when I do a git pull on master, it fetches …

git branch pull
Any gui for git merge (w squash)?

My work flow: branch from master work in my branch, commit frequently (100+) when the job is done in my branch, …

git user-interface merge branch squash
Branch by feature - Advantages/disadvantages?

I'm currently working in a project where branching and merging haven't been working very well at all from the start. …

tfs branch branching-and-merging
git fetch origin doesn't fetch all branches

I read in the answers to this question that git fetch origin should fetch all branches of origin. In my …

git branch git-clone git-fetch
How to create a new private branch in P4 (perforce) from an existing one?

I am using P4V. I need to create a new private branch from an existing project repository. How can …

branch p4v perforce-branch-spec
How can I find out which files have been modified in a branch?

I have two branches: master and bug1. I checked out bug1, did bunch of changes and multiple commits. How do …

git branch msysgit