mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 20:35:32 +02:00
oops, mixed push --prune with fetch --prune
This commit is contained in:
parent
16f0fc9d50
commit
5e6ee61bb7
1 changed files with 3 additions and 3 deletions
|
@ -14,15 +14,15 @@
|
|||
|
||||
`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:
|
||||
|
||||
`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}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue