On thing I really like about eclipse
(and the 0.x version of gitg
) is the possibility to stage changes line-by-line (see line 10 in the image below).
Is there plugin that allows this in the editor atom.io
? (place old and new version next to each other, and allow to stage/revert the change)?
I installed the plugin git-plus
, but this stages all changes for a given file,...
Version control is an important aspect of any project and Atom comes with basic Git and GitHub integration built in. In order to use version control in Atom, the project root needs to contain the Git repository.
Press ctrl + alt + o or type Git Projects: Toggle in the Command Palette to open project in a new window. Press ctrl + alt + shift + o or type Git Projects: Toggle Add in the Command Palette to add project to current window.
It is possible to do directly from Atom, with the git-plus
package installed, once you have made two or more changes to a file far enough apart to be considered by git to be separate hunks then you can us the Git Plus: Stage Hunk
command:
Stage Hunk
until Git Plus: Stage Hunk
is selected.I have created a little animation to demonstrate this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With