S
S
semennn2017-11-04 02:33:11
git
semennn, 2017-11-04 02:33:11

How to create a master branch in a remote repository?

Guys, didn't initially create a master branch on the remote repo.
Then I worked on the project and ran the git push origin local_branch_name command.
As a result, this branch became the main one, and if you add master, then it already branches from it, although it should be the other way around.
How to completely clear the history in bitbucket in order to create master first, and then another branch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
semennn, 2017-11-04
@semennn

in general, everything turned out to be corny simple - the main branch is quietly changing in the settings;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question