Skip to content

Git plugin that allows you to interactively select which files to add to stage (git add)

License

Notifications You must be signed in to change notification settings

ruyadorno/git-iadd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-iadd

NPM version License Join the chat at https://gitter.im/ipipeto/Lobby

Git plugin that allows you to interactively select which files to add to stage (git add)

An iPipeTo workflow



demo animation


Install

Get it with npm:

npm install -g git-iadd

Run

In any git repo folder:

git iadd

OR

bypass npm install and run it at once using npx:

npx git-iadd

Bash alias equivalent

If you're already an ipt user that has it globally installed, you can get this same functionality by just adding this alias to your bash (or equivalent) file:

Requirements

  • Unix-like system (needs sed, xargs cmds)
  • git globally installed
  • ipt globally installed
alias git-iadd="git status -s | sed s/^...// | ipt -m -M 'Select files to add:' | xargs git add"

License

MIT © 2018 Ruy Adorno

About

Git plugin that allows you to interactively select which files to add to stage (git add)

Resources

License

Stars

Watchers

Forks

Packages

No packages published