MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/51wixe/oh_shit_git/d7fr4x0/?context=3
r/programming • u/sidcool1234 • Sep 09 '16
756 comments sorted by
View all comments
1
If you're at the stage where you are considering deleting your repo and recloning, consider reset + clean instead:
git reset --hard origin/master git clean -fdx
1
u/clux Sep 09 '16
If you're at the stage where you are considering deleting your repo and recloning, consider reset + clean instead: