Answer the question
In order to leave comments, you need to log in
Git new and separate branch for remote repository - possible?
There is a local repository with several branches. There is a "personal remote" repository for it with all branches. I would like to create a new branch github.master with the current state of master and put it on github.
In the future, work with a local and personal remote repository, merge to github.master and push only github.master to github. Those. a separate public branch with no history until X and different branches.
Is it possible and how?
Answer the question
In order to leave comments, you need to log in
can.
make a separate branch and squash all old commits on it into 1.
then add another remote (github) and push it there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question