D
D
Danil Antoshkin2015-07-15 07:44:34
git
Danil Antoshkin, 2015-07-15 07:44:34

How to properly organize multiple branches for development?

Hello, I'm just a beginner in Git, I use SourceTree to work with Git.
So I want to organize 3 branches (master, develop, hotfix) I think the names make it clear what each
one is for , so here's how to make it so that you get a branch from the main branch?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Makarov, 2015-07-15
@TwerTrue

danielkummer.github.io/git-flow-cheatsheet/index.r...

D
dmitriy, 2015-07-15
@dmitriylanets

SourceTree has a built-in gitflow, initialize and use, it just organizes work with master, develop, hotfix

A
Anton, 2015-07-15
@MoonMaster

If you are going to work in Git all the time, it is better to learn console commands. I faced the same problem as you. In order to make branches, you need to click on the BRANCH button and there actually give names to your branches. After to the left in the file status panel, you will see them. Right-click on the branch in which you will work and click "move to branch *" . Now all subsequent commits will go only to this branch. If you want changes to appear on another branch, then merge.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question