What is the difference between git-gc, git-repack and git-prune?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

For git-prune, according to the manual, it will delete all the dangling
objects. So it is easy to understand. However, in the git-gc manpage,
there is another option named "--prune". Does that make git-gc do the
same thing as git-prune?

And manpage of git-gc says it cleans unnecessary files and compresses
the objects, and git-repack also compresses the objects too. Are there
any difference between these two operations? Or do I need to invoke
git-repack after running git-gc? Thanks!


Zhenqing

-- 
DigitalPig
E-mail: digitalpiglee AT gmail DOT com
ALL WE SEEN IS ILLUSION.

*Fudan University Macromoleculer Science Forum*
http://fudanmacro.com

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux