Answer the question
In order to leave comments, you need to log in
How to configure git?
Tell me how to properly configure git. There is a project, located on the server in the /srv/project and /srv/project-beta directories. How to create a repository correctly so that the master branch is located in project, and beta is in project-beta? So that a commit to one branch does not affect another?
Answer the question
In order to leave comments, you need to log in
A branch is a pointer to a commit and cannot be located in a separate directory. Understand the theory, then read up on gitflow .
Commits to one branch by default, does not affect the other in any way.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question