Delete all Git History
?
R
BashSimply get rid of all the git history
1git checkout --orphan latest_branch
2git add -A
3git commit -am "reset all git history"
4git branch -D master
5git branch -m master
6git push -f origin masterCreated on 4/5/2019
Simply get rid of all the git history
1git checkout --orphan latest_branch
2git add -A
3git commit -am "reset all git history"
4git branch -D master
5git branch -m master
6git push -f origin masterCreated on 4/5/2019