Quantcast
Channel: Version Control How To » version control
Viewing all articles
Browse latest Browse all 10

Branch

$
0
0

Branch is a very basic and meanwhile an essential function in a version control system. It is the duplication of an object so that modifications can happen in parallel along both branches.

When to use Branch.

There are many situations that you can use Branch to save your time and make code management easier. Below are two simple examples:

1. If you are going to create a new product based on the original one.

version control branch

2. If you are going to fix a bug or build an internal version for your customer.

version control branch tailored

How to use Branch

Brach could include Share Branch and History Branch. In the previous article, we’ve already learned how to share. But what if I want to break the share link and make them two independent files (or projects)? In SourceAnywhere, you can highlight the shared file you want to branch, and then choose Source -> Branch to branch the file.

version control share branch

If you want to branch a historic version of a file or project, you can simply achieve this in the History dialog box. After clicking Brach, you’ll get the following dialog box. Now you can choose the destination, add the comment, hit Branch, and done.

version control history branch

Welcome to share your insights with me. In the next article, I’m going to talk about how to use branch together with merge. Stay tuned.


Viewing all articles
Browse latest Browse all 10

Trending Articles