Skip to content

Instantly share code, notes, and snippets.

@rgbkrk
Created November 4, 2013 01:09
Show Gist options
  • Save rgbkrk/7296691 to your computer and use it in GitHub Desktop.
Save rgbkrk/7296691 to your computer and use it in GitHub Desktop.
XORed all the files within .git with random bytes, tried to reinitialize.
19:03:39 ~/code/wat/so_test$ git status
fatal: Not a git repository (or any of the parent directories): .git
19:05:19 ~/code/wat/so_test$ git init
fatal: bad config file line 1 in /Users/kyle6475/code/wat/so_test/.git/config
19:05:22 ~/code/wat/so_test$ rm .git/config
19:05:29 ~/code/wat/so_test$ git init
Reinitialized existing Git repository in /Users/kyle6475/code/wat/so_test/.git/
19:05:33 ~/code/wat/so_test$ git status
fatal: Not a git repository (or any of the parent directories): .git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment