search lost info

git reflog --all | grep something
git fsck --full --no-reflogs --unreachable --lost-found | grep commit | cut -d\  -f3 | xargs -n 1 git log -n 1 --pretty=oneline > .git/lost-found.txt

@blog #git

Git snippets

    git config receive.denycurrentbranch ignore
    vi .git/hooks/post-receive

    #!/bin/bash
    cd ../
    env -i git reset --hard


    chmod +x .git/hooks/post-receive


    git diff --name-status SHA1 SHA2 | cut -f2

git @blog

Projects

Tags

Capsule Servers

Lost connection to server.