It is simple CLI tool for your git add command.
there are great tools like lazygit or gitui which provides so far better fetaures for git commands. If you are looknig for full blown git integration please go to such tools.
then why this yet another tool ? I am simple man and most of the time I use following git workflow in terminal
- git status
- git add
- git commit
- git push
the main problem with "git add" command is it need complete file path which is bit annoying. Hence this tiny CLI wrapper which takes shorthand or simple file names as input and executes git add command to matching unstaged files. No need to remember any keyboard shortcuts.
./git-add
./git-add lib.rs // match src/lib.rs
./git-add MGAF // match file with name MyGlobalAbstractFactory.java
./git-add MGAF lib.rs main.rs // match multiple names
If you would like to build from source:
git clone https://github.com/vasanthegde/git-add
cd git-add
cargo install --path .
else checkout release section to grab available binaries.
- performance optimazation by using hashmap look ups
- color coded user prompts ( green for added files, yellow for modified and red for deleted files )
- perhaps more file matching pattern