0.5.0 • Published 6 years ago

git-add-interactive v0.5.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

NPM

CircleCI codecov

git-add-interactive

Leverages the blessed library to provide an alternative to git add -i, giving the ability to dynamically add/remove files of the next commit.

:school_satchel: Getting started

You first need to install git-add-interactive for being able to run it :

yarn global add git-add-interactive

You can then simply run git-add-interactive from your project root folder or add an alias to git doing :

git config --global alias.add-interactive "!git-add-interactive"

:dart: How does it work ?

git-add-interactive is yet able to :

  • stage a newly created or modified file
  • remove a newly created or modified file
  • show the diff of the currently selected file

Each file that will be displayed with a ✓ has been either already staged before or will be after pressing enter. Navigate with the up and down arrows of your keyboard and press press to trigger the selection of a file. You can also use ctrl + a to automatically trigger all files. Press then Enter to apply the changes.

You can also press d to show the diff of the file. Any other key press will hide the diff window. This diff window is also scrollable and draggable.

Press ctrl + c or q to leave the interface.

Feel free to let me know and I will fix the issues as far as I can.

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago