1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 12:35:34 +02:00

git-prune: add page (#4696)

This commit is contained in:
Ehab Alsharif 2020-10-16 11:53:07 +03:00 committed by GitHub
parent d9e540a387
commit fd71092176
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
pages/common/git-prune.md Normal file
View file

@ -0,0 +1,17 @@
# git prune
> Git command for pruning all unreachable objects from the object database.
> This command is often not used directely but as an internal command that is used by git gc.
> More information: <https://git-scm.com/docs/git-prune>.
- Report what would be removed by git prune without removing it:
`git prune --dry-run`
- Prune unreachable objects and display what has been pruned to `stdout`:
`git prune --verbose`
- Prune unreachable objects while showing progress:
`git prune --progress`