[git-users] "git checkout ." overwrites all my changes

2012-07-12 Thread miraz
Hi, entering the command git checkout . in the root directory of my git repository overwrites all my modified files without any warning. Why is there such a dangerous command? Mirek. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To vi

Re: [git-users] Re: "git checkout ." overwrites all my changes

2012-07-12 Thread miraz
Thank you all for clarifying the git checkout. Fortunately I didn't lost any data. I was just surprised there is not any secure command line flag when it does such recursive operation affecting many files. I'll be more careful when using the command line. Mirek. -- You received this message be