Coding notes
Wednesday, May 11, 2022
GIT : push a change from a local branch to a new remote branch
1. Create a new local branch
$git checkout -b feature/my-new-branch
2. Push the new local branch to a remote repo, creating a new remote branch
$git push -u origin feature/my-new-branch
See
reference
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)