This file contains hidden or 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
| I once read an https://bit-booster.com/doing-git-wrong/2017/01/02/git-init-empty/ , about why | |
| you should start with an empty commit for a new repo. The page has since then dissapperard but I got | |
| some of it out of the wayback machine and archive it here: | |
| Always Start With An Empty Commit | |
| Whenever you start a new git repo, pop an empty commit onto it before you do anything else! | |
| git init new-repo | |
| cd new-repo | |
| git commit -m 'initial empty commit' --allow-empty |