|
@@ -4,19 +4,19 @@
|
|
|
|
|
|
- Publish local changes on a remote branch:
|
|
- Publish local changes on a remote branch:
|
|
|
|
|
|
-`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}`
|
|
|
|
|
|
+`git push {{remote_name}} {{local_branch}}`
|
|
|
|
|
|
- Publish local changes on a remote branch of different name:
|
|
- Publish local changes on a remote branch of different name:
|
|
|
|
|
|
-`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}:{{REMOTE-BRANCH}}`
|
|
|
|
|
|
+`git push {{remote_name}} {{local_branch}}:{{remote_branch}}`
|
|
|
|
|
|
- Remove remote branch:
|
|
- Remove remote branch:
|
|
|
|
|
|
-`git push {{REMOTE-NAME}} :{{REMOTE-BRANCH}}`
|
|
|
|
|
|
+`git push {{remote_name}} :{{remote_branch}}`
|
|
|
|
|
|
- Remove remote branches which don't exist locally:
|
|
- Remove remote branches which don't exist locally:
|
|
|
|
|
|
-`git push --prune {{REMOTE-NAME}}`
|
|
|
|
|
|
+`git push --prune {{remote_name}}`
|
|
|
|
|
|
- Publish tags:
|
|
- Publish tags:
|
|
|
|
|