diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-04-23 00:03:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-23 00:03:56 -0700 |
commit | 57cf5ca3058b4086744f59f1f520a15dfc040bbb (patch) | |
tree | b89a069c701db1d5eb64d7c74928b2f66db9833d /Documentation/everyday.txt | |
parent | bdb87afb4b425d97f7b5e957cbed1589969d9a24 (diff) | |
parent | d6958a1a32814af69a7571daa45252018c61f969 (diff) | |
download | git-57cf5ca3058b4086744f59f1f520a15dfc040bbb.tar.gz |
Merge branch 'maint'
* maint:
Amend git-push refspec documentation
git-gc --prune is deprecated
svn-git: Use binmode for reading/writing binary rev maps
diff options documentation: refer to --diff-filter in --name-status
Don't force imap.host to be set when imap.tunnel is set
git-clone.txt: Adjust note to --shared for new pruning behavior of git-gc
git-svn bug with blank commits and author file
archive.c: format_subst - fixed bogus argument to memchr
copy.c: copy_fd - correctly report write errors
gitattributes: Fix subdirectory attributes specified from root directory
Diffstat (limited to 'Documentation/everyday.txt')
-rw-r--r-- | Documentation/everyday.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/everyday.txt b/Documentation/everyday.txt index fdbd15a181..e598cdda45 100644 --- a/Documentation/everyday.txt +++ b/Documentation/everyday.txt @@ -48,14 +48,12 @@ $ git gc <3> repository health reasonably well. <2> check how many loose objects there are and how much disk space is wasted by not repacking. -<3> repacks the local repository and performs other housekeeping tasks. Running -without `--prune` is a safe operation even while other ones are in progress. +<3> repacks the local repository and performs other housekeeping tasks. Repack a small project into single pack.:: + ------------ $ git gc <1> -$ git gc --prune ------------ + <1> pack all the objects reachable from the refs into one pack, @@ -182,7 +180,7 @@ $ git pull <3> $ git log -p ORIG_HEAD.. arch/i386 include/asm-i386 <4> $ git pull git://git.kernel.org/pub/.../jgarzik/libata-dev.git ALL <5> $ git reset --hard ORIG_HEAD <6> -$ git gc --prune <7> +$ git gc <7> $ git fetch --tags <8> ------------ + |