Answer the question
In order to leave comments, you need to log in
How to properly divide into branches in git?
Good day. I decided to transfer the projects of one customer to the "correct" git. Now he has 2 reposes: one is a master, the second is a virgin. I want to make one repos and 2 branches: master and developement, respectively.
I initiate a new repository from the current master repo, create a dev branch in it.
Question: what is the correct order of actions (preferably with example commands):
1. switch to the dev branch
2. pull it to myself (to the local machine)
3. make changes
4. Komichu in dev
5. After approving the merge to master
6. Komichu master
Main I have difficulties with switching branches and with merge dev to master.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question