[git-users] lost file with git add - git rm -f

2016-07-29 Thread GUGLHUPF
Hi, fairly new to git. Today I did a "git add somefile" and then decided I wanted to unstage it. I did then a "git rm -f somefile". There was no git command in between. Particularly no commit. git wiped the file from disk. I worked very hard on that file (several days( and I really hope this ca

[git-users] Re: lost file with git add - git rm -f

2016-07-29 Thread GUGLHUPF
On Friday, July 29, 2016 at 4:09:36 PM UTC-7, GUGLHUPF wrote: > > Hi, > fairly new to git. Today I did a "git add somefile" and then decided I > wanted to unstage it. I did then a "git rm -f somefile". There was no git > command in between. Particularly no

[git-users] Re: lost file with git add - git rm -f

2016-07-29 Thread GUGLHUPF
use --cached to keep the file, or -f to force removal)followed by:✗ git rm -f modifTDMFile rm 'prefilter/modifTDMFile'* On Friday, July 29, 2016 at 4:09:36 PM UTC-7, GUGLHUPF wrote: > > Hi, > fairly new to git. Today I did a "git add somefile" and then decided I > wa