Skip to main content
Jump to: navigation, search

Difference between revisions of "EGit/New and Noteworthy/5.5"

(first parent only)
Line 10: Line 10:
  
 
If an existing tag is selected and the "Force replace existing tag" option is checked, the dialog can also be used to move a tag (make it refer to a different commit than before), or to change an annotated tag into a lightweight tag (by clearing the message) or vice versa (by adding a message).
 
If an existing tag is selected and the "Force replace existing tag" option is checked, the dialog can also be used to move a tag (make it refer to a different commit than before), or to change an annotated tag into a lightweight tag (by clearing the message) or vice versa (by adding a message).
 +
 +
== History option to show first parents only ==
 +
 +
A history graph with many merges can be very hard to read. Therefore native git log has an option --first-parent, which shows only the first parent of each merge commit. This is now also available in the EGit history view.
 +
 +
[[File:Egit-first-parent.png|alt=History with first parent only enabled]]
 +
 +
Notice the many merge commits in the history, which all show only one parent, instead of splitting into more and more lines.
  
 
== Renaming branches became easier ==
 
== Renaming branches became easier ==

Revision as of 15:24, 15 August 2019

EGit

Creating Lightweight Tags

With EGit 5.5, you can create lightweight tags. Just leave the message field in the "Create Tag" dialog empty:

Screenshot of the "Create Tag" dialog showing the tooltip on the "Create" button explaining this.

A lightweight tag doesn't store any author information (who created the tag) or message, and it cannot be signed. It is really just a plain name for a commit. An annotated commit, on the other hand, additionally stores a message, and also the author of the tag.

If an existing tag is selected and the "Force replace existing tag" option is checked, the dialog can also be used to move a tag (make it refer to a different commit than before), or to change an annotated tag into a lightweight tag (by clearing the message) or vice versa (by adding a message).

History option to show first parents only

A history graph with many merges can be very hard to read. Therefore native git log has an option --first-parent, which shows only the first parent of each merge commit. This is now also available in the EGit history view.

History with first parent only enabled

Notice the many merge commits in the history, which all show only one parent, instead of splitting into more and more lines.

Renaming branches became easier

Before EGit 5.5 you had to navigate to a branch node in the repository view, in order to rename the branch. Now you can use the F2 key for renaming a branch both on the branch node or on the repository node. No need to expand all the nodes down to the branch node anymore.

Other Changes

EGit 5.5.0 includes lots of less noticeable improvements in the UI, plus a number of bug fixes. The complete list of new features and bug fixes is available in the release notes.

Contributors

The following X developers worked on this release:

<TBD: list of contributors, number>

Video

You can see many of the changes in action in the <TBD: insert video link, if there is a video> video.

See Also

See also the new features in JGit for additional information.

Back to the top