and for completeness the shell output:
✗ git add modifTDMFile 
✗ git status
On branch createPriceSheet
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

    new file:   modifTDMFile

Changes not staged for commit:....<SNIP>

*and then* 

✗ git add twoWordCountries 
✗ git status
On branch createPriceSheet
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

    new file:   modifTDMFile
    new file:   twoWordCountries














*and then ✗ git rm modifTDMFile error: the following file has changes 
staged in the index:    prefilter/modifTDMFile(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 
> 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 can be recovered. I could not find a solution 
> on the web. 
>
> For completeness I did a git reset HEAD somefile because that's what I 
> found on the web, but it didn't recover the file. 
>
> Is there a way to recver somefile?
> Thank you.
>
>

-- 
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 git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to