Created
November 5, 2014 10:00
-
-
Save cirosantilli/38d084d901ff0a4e6ca8 to your computer and use it in GitHub Desktop.
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 '' | git hash-object --stdin -w)" | |
root_tree="$(printf "\ | |
100644 blob $empty_blob\t$(printf '%1024s' ' ' | tr ' ' 'a') | |
" | 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