Merge pull request #178 from Dahie/patch-1
adds two more use cases for git-push
This commit is contained in:
commit
a740586a5c
|
|
@ -2,10 +2,18 @@
|
|||
|
||||
> Push commits to a remote repository
|
||||
|
||||
- Publish local changes on a remote location
|
||||
- Publish local changes on a remote branch
|
||||
|
||||
`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}`
|
||||
|
||||
- Publish local changes on a remote branch of different name
|
||||
|
||||
`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}:{{REMOTE-BRANCH}}`
|
||||
|
||||
- Remove remote branch
|
||||
|
||||
`git push {{REMOTE-NAME}} :{{REMOTE-BRANCH}}`
|
||||
|
||||
- Remove remote branches which don't exist locally
|
||||
|
||||
`git push --prune {{REMOTE-NAME}}`
|
||||
`git push --prune {{REMOTE-NAME}}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue