rtomayko / git-sh

A customized bash environment suitable for git work.
GNU General Public License v2.0
737 stars 83 forks source link

Feature: add numbers to file listings #5

Closed aristus closed 11 years ago

aristus commented 14 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.

rtomayko commented 11 years ago

This is interesting but git-sh doesn't really mess with existing command behavior. Leaving this for an external command / alias of some kind.