On Tue, Sep 4, 2012 at 7:25 PM, Коньков Евгений <kes@xxxxxx> wrote: > sot this allow: > git diff 1 same as git diff a1.txt > git diff 2 same as git diff a2.txt > > git add 1 same as git add a1.txt > in case there are may be files with such names I may appply option -s,for example > git add [ -s | --stage ] 1 . This will force to add file from list of > 'git status' and do not use '1' as file name. > > git add 3 same as git add new.txt > > > This very handy and will keep developer from useless typing =) Check out git-number[1] and scm_breeze[2]. Both provides similar functionality to the above. nazri shameless disclaimer: I wrote git-number. [1] https://github.com/holygeek/git-number [2] https://github.com/ndbroadbent/scm_breeze -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html