[GIT] Make a new local/remote branch
Description
Make a new branch
To add a new branch (name: new_branch) to the local space (e.g. personal laptop, desktop)
git checkout -b new_branch
And to push it to the remote space (e.g. github space)
git push origin new_branch
Caution: Make the remote branch on the desired local branch.
## Reference https://trustyoo86.github.io/git/2017/11/28/git-remote-branch-create.html
Leave a Comment
Your email address will not be published. Required fields are marked *