Last active
August 29, 2015 14:00
-
-
Save enplotz/11148602 to your computer and use it in GitHub Desktop.
Initialize a git repository with an empty root commit. This allows for easier rebases which include the root commit.
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
alias git-init='git init . && git commit --allow-empty -m "Root commit."' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment