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
#!/bin/sh | |
# from: http://stackoverflow.com/a/13102849 | |
git checkout --orphan newMaster | |
git add -A # Add all files and commit them | |
git commit -m "Initial commit" | |
git branch -D master # Deletes the master branch | |
git branch -m master # Rename the current branch to master | |
#git push -f origin master # Force push master branch to github |