카테고리 없음
Remove All History from Github Repository
공대나왔음
2020. 1. 26. 22:14
Git Bash Script
Remove the history from
rm -rf .git
Recreate the repos from the current content only
git init
git add .
git commit -m "Initial Commit"
Push to the github remote repos ensuring you overwrite history
git remote add origin https://github.com/ChangUk/changuk.github.io.git
git push -u --force origin master