Closed aristus closed 11 years ago
Hey, Ryan -- this is a trick I use in SVN and grep, and I just wrote one for git:
http://github.com/aristus/giterate
Basically it adds a number to every file that appears in the status command, and allows you to reference them by number instead of name, ie "add 1 2 3" or "rm 4 9". It also lets you filter the status list by a regexp.
This is interesting but git-sh doesn't really mess with existing command behavior. Leaving this for an external command / alias of some kind.
Hey, Ryan -- this is a trick I use in SVN and grep, and I just wrote one for git:
http://github.com/aristus/giterate
Basically it adds a number to every file that appears in the status command, and allows you to reference them by number instead of name, ie "add 1 2 3" or "rm 4 9". It also lets you filter the status list by a regexp.