1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Git 2.4.2 发布,分布式版本控制系统 下载

本帖由 漂亮的石头2015-05-28 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,335
    赞:
    46
    Git 2.4.2 发布,该版本现已提供下载:v2.4.2.ZIP

    更新内容如下:

    * "git rev-list --objects $old --not --all" to see if everything that
    is reachable from $old is already connected to the existing refs
    was very inefficient.

    * "hash-object --literally" introduced in v2.2 was not prepared to
    take a really long object type name.

    * "git rebase --quiet" was not quite quiet when there is nothing to
    do.

    * The completion for "log --decorate=" parameter value was incorrect.

    * "filter-branch" corrupted commit log message that ends with an
    incomplete line on platforms with some "sed" implementations that
    munge such a line. Work it around by avoiding to use "sed".

    * "git daemon" fails to build from the source under NO_IPV6
    configuration (regression in 2.4).

    * "git stash pop/apply" forgot to make sure that not just the working
    tree is clean but also the index is clean. The latter is important
    as a stash application can conflict and the index will be used for
    conflict resolution.

    * We have prepended $GIT_EXEC_PATH and the path "git" is installed in
    (typically "/usr/bin") to $PATH when invoking subprograms and hooks
    for almost eternity, but the original use case the latter tried to
    support was semi-bogus (i.e. install git to /opt/foo/git and run it
    without having /opt/foo on $PATH), and more importantly it has
    become less and less relevant as Git grew more mainstream (i.e. the
    users would _want_ to have it on their $PATH). Stop prepending the
    path in which "git" is installed to users' $PATH, as that would
    interfere the command search order people depend on (e.g. they may
    not like versions of programs that are unrelated to Git in /usr/bin
    and want to override them by having different ones in /usr/local/bin
    and have the latter directory earlier in their $PATH).

    还有一些常规修复,文档更新和代码清理。

    更多内容请看发行说明


    Git是一个开源的分布式版本控制系统,用以有效、高速的处理从很小到非常大的项目版本管理。

    开源中国 Git 代码托管平台http://git.oschina.net/

    [​IMG]

    Windows下的Git请看这里:http://www.oschina.net/p/msysgit

    Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。

    Torvalds 开始着手开发 Git 是为了作为一种过渡方案来替代 BitKeeper,后者之前一直是 Linux 内核开发人员在全球使用的主要源代码工具。开放源码社区中的有些人觉得 BitKeeper 的许可证并不适合开放源码社区的工作,因此 Torvalds 决定着手研究许可证更为灵活的版本控制系统。尽管最初 Git 的开发是为了辅助 Linux 内核开发的过程,但是我们已经发现在很多其他自由软件项目中也使用了 Git。例如,X.org 最近就迁移到 Git 上来了,很多 Freedesktop.org 的项目也迁移到了 Git 上。

    Git与CVS的区别


    • 分支更快、更容易。


    • 支持离线工作;本地提交可以稍后提交到服务器上。


    • Git 提交都是原子的,且是整个项目范围的,而不像 CVS 中一样是对每个文件的。


    • Git 中的每个工作树都包含一个具有完整项目历史的仓库。


    • 没有哪一个 Git 仓库会天生比其他仓库更重要。
    Git 2.4.2 发布,分布式版本控制系统下载地址
     
正在加载...