Created
March 25, 2017 20:35
-
-
Save anton-107/1d846bbb1f9e11d0ba573b7008e9537b to your computer and use it in GitHub Desktop.
Always Start With An Empty 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
# read: https://bit-booster.com/doing-git-wrong/2017/01/02/git-init-empty/ | |
git init new-repo | |
cd new-repo | |
git commit -m 'initial empty commit' --allow-empty | |
git tag init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment