红联Linux门户
Linux帮助

Magit 2.2.0发布,Git版本控制系统接口

发布时间:2015-08-17 09:15:05来源:红联作者:empast
Magit 2.2.0 发布,这是 19 位贡献者经过 6 周+ 开发的成果,总共 321 个 commits。

此版本相比 Magit 2.1.0 版本,更新如下:

* New popup `magit-log-refresh-popup' allows changing the log
arguments used in the current buffer.

* When a log is displayed for the purpose of having the user select
a commit, then this is now displayed in a buffer separate from the
regular log buffer.

* The default value of `magit-log-section-arguments' now contains the
`--decorate' switch.

* `magit-log-buffer-file' respects the log arguments currently in
effect in the repositories log buffer, or if that doesn't exist the
default value of `magit-log-arguments'.

* Log graphs are no longer shown in color by default, because turning
the control sequences into faces is very inefficient.

* In the refs manager, `RET' on a local branch again "visits" that
branch by checking it out (like in v1.4). With a prefix argument it
instead "visits" the branch by showing information about other refs
relative to the visited one (like in v2.1 even without a prefix
argument).

When the new option `magit-visit-ref-create' is non-nil, then a
remote branch is "visited" by creating a new local branch that
tracks that remote branch, and checking out that local branch.

* To avoid losing any standard functionality, `C-w' and `M-w' now
fallback to `kill-ring-save' when the region is active.

* New option `magit-push-always-verify' has been added because changes
in v2.1 caused many users to accidentally push to `master' instead
of a remote feature branch as intended. All users should set this
option to nil, but only after having read the documentation.

* Moving through a log using `n' and `p' is now much faster because
the revision buffer is no longer recreated for each commit along the
way.

* When creating a new branch, first reading the starting point and
only then the name of the new branch has advantages.

* New commands `magit-wip-log' and `magit-wip-log-current' allow
showing log for a branch and its wip refs (which the various wip
modes commit to).

* New command `magit-submodule-deinit'.

* New command `magit-commit-augment' allows the user to pick a commit
to squash into and edit the squash commit message.

* New push commands `magit-push-implicitly' and `magit-push-quickly'.

* When reading user input, many commands now offer a better default
choice and better completion candidates.

* All apply variants now use `--3way' when called with a prefix
argument.

* Log commands now respect the entries in the .mailmap file.

* The command `magit-pull-current' now also fetches tags by default.

* When a file has conflicts then the type of conflict is shown now.

* New option `magit-log-show-refname-after-summary'.

* New section inserter `magit-insert-user-header'.

* New face `magit-section-secondary-heading'.

* New commands `magit-run-gitk-all' and `magit-run-gitk-branches'.
The existing command `magit-run-gitk' now always calls `gitk'
without any arguments.

* New commands `magit-shell-command' and `magit-shell-command-topdir'.

Magit 是 Git 版本控制系统的接口,作为一个 Emacs 包实现的。它封装了绝大多数 Git 命令,可直接在 Emacs 编辑器中使用。

软件详情:https://raw.githubusercontent.com/magit/magit/master/Documentation/RelNotes/2.2.0.txt

下载地址:https://github.com/magit/magit

来自:开源中国社区
文章评论

共有 0 条评论