mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-05 17:35:41 +02:00
git-fetch: --prune doesn't delete local branches (#1237)
`git fetch --prune` deletes the local *references* to upstream branches (i.e. entries in `.git/refs/remotes/`), but the local *branches* that tracked them (i.e. entries in `.git/refs/heads/`) are kept.
This commit is contained in:
parent
3ad200b9d0
commit
5582e23e8a
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,6 @@
|
||||||
|
|
||||||
`git fetch --tags`
|
`git fetch --tags`
|
||||||
|
|
||||||
- Delete local remote-tracking branches that have been deleted upstream:
|
- Delete local references to remote branches that have been deleted upstream:
|
||||||
|
|
||||||
`git fetch --prune`
|
`git fetch --prune`
|
||||||
|
|
Loading…
Add table
Reference in a new issue