设为首页 收藏本站
查看: 805|回复: 0

[经验分享] Git 2.6.0 RC0 发布

[复制链接]

尚未签到

发表于 2015-9-16 04:25:17 | 显示全部楼层 |阅读模式
欢迎加入运维网交流群:263444886   DSC0000.jpg
DSC0001.png   Git 2.6.0 RC0 发布,Git 2.6.0 更新说明如下:
  
  UI,工作流和新特性
  
  * An asterisk as a substring (as opposed to the entirety) of a path
  component for both side of a refspec, e.g.
  "refs/heads/o*:refs/remotes/heads/i*", is now allowed.
  
  * New userdiff pattern definition for fountain screenwriting markup
  format has been added.
  
  * "git log" and friends learned a new "--date=format:..." option to
  format timestamps using system's strftime(3).
  
  * "git fast-import" learned to respond to the get-mark command via
  its cat-blob-fd interface.
  
  * "git rebase -i" learned "drop commit-object-name subject" command
  as another way to skip replaying of a commit.
  
  * A new configuration variable can enable "--follow" automatically
  when "git log" is run with one pathspec argument.
  
  * "git status" learned to show a more detailed information regarding
  the "rebase -i" session in progress.
  
  * "git cat-file" learned "--batch-all-objects" option to enumerate all
  available objects in the repository more quickly than "rev-list
  --all --objects" (the output includes unreachable objects, though).
  
  * "git fsck" learned to ignore errors on a set of known-to-be-bad
  objects, and also allows the warning levels of various kinds of
  non-critical breakages to be tweaked.
  
  * "git rebase -i"'s list of todo is made configurable.
  
  * "git send-email" now performs alias-expansion on names that are
  given via --cccmd, etc.
  
  * An environment variable GIT_REPLACE_REF_BASE tells Git to look into
  refs hierarchy other than refs/replace/ for the object replacement
  data.
  
  * Allow untracked cache (experimental) to be used when sparse
  checkout (experimental) is also in use.
  
  * "git pull --rebase" has been taught to pay attention to
  rebase.autostash configuration.
  
  * The command-line completion script (in contrib/) has been updated.
  
  * A negative !ref entry in multi-value transfer.hideRefs
  configuration can be used to say "don't hide this one".
  
  * After "git am" without "-3" stops, running "git am -" pays attention
  to "-3" only for the patch that caused the original invocation
  to stop.
  
  * When linked worktree is used, simultaneous "notes merge" instances
  for the same ref in refs/notes/* are prevented from stomping on
  each other.
  
  * "git send-email" learned a new option --smtp-auth to limit the SMTP
  AUTH mechanisms to be used to a subset of what the system library
  supports.
  
  * A new configuration variable http.sslVersion can be used to specify
  what specific version of SSL/TLS to use to make a connection.
  
  * "git notes merge" can be told with "--strategy=" option how to
  automatically handle conflicts; this can now be configured by
  setting notes.mergeStrategy configuration variable.
  
  * "git log --cc" did not show any patch, even though most of the time
  the user meant "git log --cc -p -m" to see patch output for commits
  with a single parent, and combined diff for merge commits.  The
  command is taught to DWIM "--cc" (without "--raw" and other forms
  of output specification) to "--cc -p -m".
  
  * "git config --list" output was hard to parse when values consist of
  multiple lines.  "--name-only" option is added to help this.
  
  性能,内部实现和开发支持:
  
  * In preparation for allowing different "backends" to store the refs
  in a way different from the traditional "one ref per file in
  $GIT_DIR or in a $GIT_DIR/packed-refs file" filesystem storage,
  direct filesystem access to ref-like things like CHERRY_PICK_HEAD
  from scripts and programs has been reduced.
  
  * Computation of untracked status indicator by bash prompt
  script (in contrib/) has been optimized.
  
  * Memory use reduction when commit-slab facility is used to annotate
  sparsely (which is not recommended in the first place).
  
  * Clean up refs API and make "git clone" less intimate with the
  implementation detail.
  
  * "git pull" was reimplemented in C.
  
  * The packet tracing machinery allows to capture an incoming pack
  data to a file for debugging.
  
  * Move machinery to parse human-readable scaled numbers like 1k, 4M,
  and 2G as an option parameter's value from pack-objects to
  parse-options API, to make it available to other codepaths.
  
  * "git verify-tag" and "git verify-commit" have been taught to share
  more code, and then learned to optionally show the verification
  message from the underlying GPG implementation.
  
  * Various enhancements around "git am" reading patches generated by
  foreign SCM have been made.
  
  * Ref listing by "git branch -l" and "git tag -l" commands has
  started to be rebuilt, based on the for-each-ref machinery.
  
  * The code to perform multi-tree merges has been taught to repopulate
  the cache-tree upon a successful merge into the index, so that
  subsequent "diff-index --cached" (hence "status") and "write-tree"
  (hence "commit") will go faster.
  
  The same logic in "git checkout" may now be removed, but that is a
  separate issue.
  
  * Tests that assume how reflogs are represented on the filesystem too
  much have been corrected.
  
  * "git am" has been rewritten in "C".
  
  * git_path() and mkpath() are handy helper functions but it is easy
  to misuse, as the callers need to be careful to keep the number of
  active results below 4.  Their uses have been reduced.
  
  * The "lockfile" API has been rebuilt on top of a new "tempfile" API.
  
  * To prepare for allowing a different "ref" backend to be plugged in
  to the system, update_ref()/delete_ref() have been taught about
  ref-like things like MERGE_HEAD that are per-worktree (they will
  always be written to the filesystem inside $GIT_DIR).
  
  * The gitmodules API that is accessed from the C code learned to
  cache stuff lazily.
  
  更多内容请看发行说明。
  下载:https://github.com/git/git/archive/v2.6.0-rc0.zip。

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-114087-1-1.html 上篇帖子: Git for Windows 2.5.1 发布,同步 Git 2.5.1 下篇帖子: Gogs v0.6.9 发布,极易搭建的自助 Git 托管服务
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表