| Omega0 ( @ 2009-04-17 17:23:00 |
Git
I had a runaway script wipe out a major chunk of the src directory of a project I was working on. No need to panic, I'm using source control so I just need to git-reset and "index file corrupted"?
I did a little research and finally recovered the files. I'm still a bit annoyed at Git though. The whole purpose of git-reset is to wipe out any changes you've made. Why the heck should it care if the index file is corrupted--it's about to overwrite it!
I had a runaway script wipe out a major chunk of the src directory of a project I was working on. No need to panic, I'm using source control so I just need to git-reset and "index file corrupted"?
I did a little research and finally recovered the files. I'm still a bit annoyed at Git though. The whole purpose of git-reset is to wipe out any changes you've made. Why the heck should it care if the index file is corrupted--it's about to overwrite it!