Your code is a strategy memo to strangers who will maintain it at 2am during an outage.
3 Matching Annotations
- Last 7 days
-
addyosmani.com addyosmani.com
Tags
Annotators
URL
-
- Apr 2020
-
tilde.club tilde.club
-
mostly abandoned
Just happened to arrive here during a pinboard.in outage.
... since returned to working.
-
- Apr 2016
-
git.seveas.net git.seveas.net
-
When .git/HEAD is gone, git doesn't even think your repository is a repository. So really, we must fix this first or else we will not be able to use any git commands to salvage the rest.
After a recent power outage, a call to 'git status' returned this:
fatal: Not a git repository (or any of the parent directories): .gitWhen I inspected .git/HEAD, it was filled with what looked like binary code, rather than a string like:
ref: refs/heads/masteror
ref: refs/heads/developThis:
echo 'ref: refs/heads/develop' > ./git/HEADdid the trick!
-