Pushes commits to the remote branch
git push origin new_branch
If the branch does not exist on remote repository, first should be run this command:
git push --set-upstream origin new_branch
Alternative of the above command is this command:
git push -u origin new_branch
To delete branch
new_branch
on remote repository
git push origin new_branch --delete
by Valeri Tandilashvili
4 years ago
Git
Git/Github Tutorial
1
Pro tip: use ```triple backticks around text``` to write in code fences