2008/10/1 Lemur <[EMAIL PROTECTED]>: > I'm sorry > I get error "fatal: Failed to resolve 'text.txt' as a valid ref." when > I do like this : git reset --hard F text.txt
Sorry, git reset --hard doesn't work with file names, only on its own. Use git reset --hard It will undo all your changes since the last commit, but I think that is what you want. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/git-users?hl=en -~----------~----~----~----~------~----~------~--~---