Created
March 28, 2016 17:12
-
-
Save vlymar/4e43dbeae70ff71f861d to your computer and use it in GitHub Desktop.
git fzf multi-add modified files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fuzzy multi-select modified file | |
gfmod() { | |
git ls-files -m | fzf -m | |
} | |
# stage files multi-selected modified files | |
gfadd() { | |
git add $(gfmod) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment