Re: Git commands version documentation

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

 



On 22/05/2022 19:41, Hrushikesh Rao wrote:
> Hey,
>
> I am working on git maintenance project in Jenkins. We are using
> git-maintenance to improve the performance of the git commands further
> improving the build speed. Git maintenance was added in git version
> 2.30.0. The aim of the project is to also support systems having git
> version < 2.30.0. Few git maintenance tasks very available before the
> maintenance command was introduced i.e gc,commit-graph,gc and
> incremental repack. 

> Is there a way for me to find out in which version these commands have
> been introduced? Based on this we can support legacy git version.

One manual method is to look at the history (blame) for the respective
man pages to see when the man page was initially committed, and when
appropriate options were added.

Maybe use one of the hosting providers GUI if that is your choice e.g.
https://github.com/git/git/blame/master/Documentation/git-gc.txt

--
Philip



[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