Created
November 27, 2014 21:27
-
-
Save cirosantilli/4d30693410c76807e6e5 to your computer and use it in GitHub Desktop.
test-symlink-middle-null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init --bare | |
empty_blob="$(printf 'a\0b' | git hash-object --stdin -w)" | |
root_tree="$(printf "\ | |
120000 blob $empty_blob\ta | |
" | git mktree)" | |
commit="$(git commit-tree -m 0 "$root_tree")" | |
git branch master "$commit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment