Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fatal: index file corrupt
- rm -f .git/index
- git reset --keep
- arie@dev:/var/www/repo$ ls -lha .git/ # Ver los archivos de .git/
- [... otros archivos ...]
- -rw-r--r-- 1 arie arie 175K mar 2 13:18 index # Fichero correcto
- arie@dev:/var/www/repo$ git add . # Este funciona!
- arie@dev:/var/www/repo$ truncate -s 1000 .git/index # Echamos a perder :(
- arie@dev:/var/www/repo$ git add . # Error!
- error: bad index file sha1 signature
- fatal: index file corrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement