$ git version git version 2.2.0 type again $ git add -v foo.txt no message will display
with verbose flag we could have a message similar to SVN svn: warning: W150002: 'foo.txt' is already under version control svn: E200009: Could not add all targets because some targets are already versioned svn: E200009: Illegal target for the requested operation I know Git is not SVN... but displaying "warning: 'foo.txt' is already under version control" will be a good reminder if I have 2 files foo.txt and bar.txt I first git add -v foo.txt then I need to git add -v bar.txt but I did a mistake and type again git add -v foo.txt git will give me an warning message so I could notice that I was wrong I also would like to define git to display verbose message by default (without this -v flag) is there a config file for this ? 2014-12-12 20:21 GMT+01:00 Konstantin Khomoutov < [email protected]>: > On Fri, 12 Dec 2014 18:24:34 +0100 > "[email protected]" <[email protected]> wrote: > > > I could expect verbose flag will made git become more verbose... but > > that's no so easy > > Well, works for me: > > ~% cd /tmp > tmp% mkdir foo > tmp% cd foo > foo% git init > Initialized empty Git repository in /tmp/foo/.git/ > foo% touch foo.txt > foo% git add -v foo.txt > add 'foo.txt' > foo% git --version > git version 1.9.1 > foo% > 2014-12-12 20:21 GMT+01:00 Konstantin Khomoutov < [email protected]>: > On Fri, 12 Dec 2014 18:24:34 +0100 > "[email protected]" <[email protected]> wrote: > > > I could expect verbose flag will made git become more verbose... but > > that's no so easy > > Well, works for me: > > ~% cd /tmp > tmp% mkdir foo > tmp% cd foo > foo% git init > Initialized empty Git repository in /tmp/foo/.git/ > foo% touch foo.txt > foo% git add -v foo.txt > add 'foo.txt' > foo% git --version > git version 1.9.1 > foo% > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
