Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EGit/New and Noteworthy/5.5"
(tree presentation option in staging view) |
(Screenshot for presentation button in staging view) |
||
Line 26: | Line 26: | ||
EGit had an option to display the staged and unstaged files as a flat list or as a tree of folders and files since a long time already. Both can be very helpful when you want to stage only some of many changed files, either based on their name or based on their location. To make more users aware of the different presentations, the option can now be changed more easily via a dropdown menu next to the unstaged files area in the history view. | EGit had an option to display the staged and unstaged files as a flat list or as a tree of folders and files since a long time already. Both can be very helpful when you want to stage only some of many changed files, either based on their name or based on their location. To make more users aware of the different presentations, the option can now be changed more easily via a dropdown menu next to the unstaged files area in the history view. | ||
+ | |||
+ | [[File:EGit 5 5 Staging Presentation.png|alt=Screenshot of the EGit Staging view showing the new "Presentation" button and drop-down menu]] | ||
+ | |||
+ | The button's icon changes depending on the selected mode. | ||
== Other Changes == | == Other Changes == |
Revision as of 17:35, 25 August 2019
Contents
EGit
Creating Lightweight Tags
With EGit 5.5, you can create lightweight tags. Just leave the message field in the "Create Tag" dialog empty:
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.
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.
Staged files as list or tree
EGit had an option to display the staged and unstaged files as a flat list or as a tree of folders and files since a long time already. Both can be very helpful when you want to stage only some of many changed files, either based on their name or based on their location. To make more users aware of the different presentations, the option can now be changed more easily via a dropdown menu next to the unstaged files area in the history view.
The button's icon changes depending on the selected mode.
Other Changes
EGit 5.5 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.