In tig command line tool for git, you go to the status view and you press u to stage a file. What I am curious about is how to perform that actions multiple time without repeating the word u. Is this possible to stage multiple files or all files with just one key combo?
Stage all files in tig
575 Views Asked by Luong Vo At
1
While it is not possible out of the box, you can configure it via your tigrc file. As an example, assuming that while you are in the stage view, you want to map the
Akey to thegit add -Abash command. Here is what you will need to add to yourtigrcfile:The syntax is pretty straightforward, the
@flag just means that the command output will not be shown.