split git commands
This commit is contained in:
11
pages/common/git-push.md
Normal file
11
pages/common/git-push.md
Normal file
@@ -0,0 +1,11 @@
|
||||
#git push
|
||||
|
||||
> Push commits to a remote repository
|
||||
|
||||
- Publish local changes on a remote location
|
||||
|
||||
`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}`
|
||||
|
||||
- Remove remote branches which don't exist locally
|
||||
|
||||
`git push --prune {{REMOTE-NAME}}`
|
||||
Reference in New Issue
Block a user