-
-
Save satyadeepk/b7c0816b512ffd8ab96223905aac2766 to your computer and use it in GitHub Desktop.
Create an empty initial commit for a pull request for new project
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
git checkout --orphan temp | |
git rm -rf . | |
git commit --allow-empty -m 'Make initial root commit' | |
git rebase --onto temp --root develop | |
git push origin --force develop:develop | |
git push origin temp:master | |
git branch -D temp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment