1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-06 06:15:41 +02:00

oops, mixed push --prune with fetch --prune

This commit is contained in:
Waldir Pimenta 2017-01-08 21:20:14 +00:00 committed by Agniva De Sarker
parent 16f0fc9d50
commit 5e6ee61bb7

View file

@ -14,15 +14,15 @@
`git push {{remote_name}} -u {{remote_branch}}` `git push {{remote_name}} -u {{remote_branch}}`
- Send changes on all local branches to their remote counterparts: - Send changes on all local branches to their counterparts in a given remote repository:
`git push --all` `git push --all {{remote_name}}`
- Delete a branch in a remote repository: - Delete a branch in a remote repository:
`git push {{remote_name}} --delete {{remote_branch}}` `git push {{remote_name}} --delete {{remote_branch}}`
- Remove local references to branches that have been deleted in a remote repository: - Remove remote branches that don't have a local counterpart:
`git push --prune {{remote_name}}` `git push --prune {{remote_name}}`