How to create a remote git branch
https://www.w3docs.com/snippets/git/how-to-create-a-remote-branch-in-git.html
Step 1:
you are on master branch
then you are planning to create a new branch on the master branch
use the following command
git checkout -b <new-branch-name>
this command is used to create a local branch on the current local branch
ex: git checkout -b feature/ixu
then after that
git push -u origin your_remote_branch_name
ex: git push -u origin feature/ixu
Comments
Post a Comment