Reputation: 1654
Does anyone knows a cli utility or command that allow to quickly mark files to add to the next commit or rebase ?
For now i have to do :
git add $fullPath0 $fullPath1 $fullPath2...
I heard that "tig" can open a window where you can add files with spacebar key but i can't find anything about this command.
Upvotes: 1
Views: 407
Reputation: 1654
I found something with the "tig" utility :
execute this in terminal :
tig status
Navigate up or down with arrow keys then press "u" to stage (add) the files.
You can press "u" again to unstage the files.
Upvotes: 0
Reputation: 13509
If you want to add all the files in a particular folder, you can use a wildcard:
git add path/to/folder/*
Upvotes: 2