

### Ran out of battery during a git operation
왠만하면 그냥 clone and copy
```typegit fsck --fullrm {{object file}}git fsck --fullgit reflogtail -n 1 .git/logs/refs/heads/{{branch}}git show {{target hash}}git update-ref HEAD {{target hash}}git fsck --fullrm .git/indexgit fsck --fullgit statusgit add .git commit -am "blabla"```


```typegit stashremoving git file in error (not sure that is necessary)git stash clear```


> [How to fix GIT error: object file is empty?](https://stackoverflow.com/questions/11706215/how-to-fix-git-error-object-file-is-empty)






