Re: [git-users] How to recover deleted files from a bad usage of .gitignore

2015-02-10 Thread Gergely Polonkai
Hello, Nelson is just right about git rm, except it does nothing with untracked files. What you may have done is git clean -x which removes all files unknown to Git (even untracked ones). In this case you are on your own and try some file system utilities, if any, to recover your files. Best, Ger

Re: [git-users] How to recover deleted files from a bad usage of .gitignore

2015-02-10 Thread Nelson Efrain A. Cruz
Hi, when you ignore a file in git it becomes invisible to git, so you can't use git to try to recover it after a deletion. About your question about git rm AFAIK it deletes the file and marks it to the stage area. Anyway if you use git rm it means that you have the file under git, so you can use g