mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-03 22:47:15 +03:00
11 lines
227 B
Markdown
11 lines
227 B
Markdown
|
#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}}`
|