如何获取git命令列表及其引入的版本?

时间:2012-07-19 11:39:05

标签: git msysgit changelog

任何人都可以给我git命令列表及其引入的版本吗?

我要升级到git版本1.7.11

我的同事正在使用1.7.3版本

我需要告诉他们自版本1.7.3以来添加/改进了什么。

注意:我们正在使用Windows。

3 个答案:

答案 0 :(得分:1)

使用:

git help -a

这将为您提供所有git命令的列表。

可以在以下位置找到包含有关新命令的信息和对现有命令所做更改的更改日志:http://github.com/git/git/tree/master/Documentation/RelNotes 只需拿起您需要的版本。这些列表提供了有关从发布到发布的所有更改的详尽信息。

答案 1 :(得分:0)

转到此位置: git / Documentation / RelNotes

将1.7.3中的所有发行说明下载到您想要的任何版本。

重要提示:这些将包含所有详细信息,而不仅仅是新命令,还包含错误修复和不兼容性(如果有)。 在您可以安全地决定实际进行升级之前,您将需要所有这些。

e.g。

Git v1.7.11 Release Notes
=========================

Updates since v1.7.10
---------------------

UI, Workflows & Features

 * A new mode for push, "simple", which is a cross between "current"
   and "upstream", has been introduced. "git push" without any refspec
   will push the current branch out to the same name at the remote
   repository only when it is set to track the branch with the same
   name over there.  The plan is to make this mode the new default
   value when push.default is not configured.

 * A couple of commands learned the "--column" option to produce
   columnar output.

 * A third-party tool "git subtree" is distributed in contrib/

 * A remote helper that acts as a proxy and caches ssl session for the
   https:// transport is added to the contrib/ area.

 * Error messages given when @{u} is used for a branch without its
   upstream configured have been clarified.
...
...
...

希望这会有所帮助......

答案 2 :(得分:0)

每个版本的release notes将为您提供在该版本中引入的更改。您可以从这里找出您感兴趣的两个版本之间添加的命令。