Skip to content

Commit

Permalink
Merge branch 'jm/doc-ref-prune'
Browse files Browse the repository at this point in the history
* jm/doc-ref-prune:
  Documentation: fix git-prune example usage
  Documentation: remove --prune from pack-refs examples
  • Loading branch information
Junio C Hamano committed Jul 25, 2013
2 parents dfb78f0 + 8c3ca72 commit 677f32c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Documentation/git-pack-refs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Subsequent updates to branches always create new files under
`$GIT_DIR/refs` directory hierarchy.

A recommended practice to deal with a repository with too many
refs is to pack its refs with `--all --prune` once, and
occasionally run `git pack-refs --prune`. Tags are by
refs is to pack its refs with `--all` once, and
occasionally run `git pack-refs`. Tags are by
definition stationary and are not expected to change. Branch
heads will be packed with the initial `pack-refs --all`, but
only the currently active branch heads will become unpacked,
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-prune.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ borrows from your repository via its
`.git/objects/info/alternates`:

------------
$ git prune $(cd ../another && $(git rev-parse --all))
$ git prune $(cd ../another && git rev-parse --all)
------------

Notes
Expand Down

0 comments on commit 677f32c

Please sign in to comment.