Re: [git-users] Bring back locally deleted file, leave changes in others

2011-09-06 Thread Konstantin Khomoutov
On Tue, 6 Sep 2011 02:44:18 -0700 (PDT) tombert wrote: > I perform some changes in several files, then I delete two files > because I want to discard those changes. > > rm myfile1.txt > rm myfile2.txt > > Is there a way of bringing back those files with knowing its name? > > I could use "git c

[git-users] Bring back locally deleted file, leave changes in others

2011-09-06 Thread tombert
Hi all I perform some changes in several files, then I delete two files because I want to discard those changes. rm myfile1.txt rm myfile2.txt Is there a way of bringing back those files with knowing its name? I could use "git checkout ." but this would discard changes in the other files ... I'