EN
Git - create remote branch
0
points
In this article, we would like to show you how to create remote branch from the command line in Git.
Quick solution:
git checkout -b branch_name
git push -u origin branch_name
Practical example
The first thing you need to do is to create a local branch e.g new_branch
:
git checkout -b new_branch
Then push it to the remote repository:
git push -u origin new_branch