Skip to content

Clean up your fork

Jeffrey Davidsz edited this page Apr 25, 2022 · 2 revisions

When you messed up a fork ;-) you can reset this with the following lines (replace the link when you have a different fork)

git remote add upstream https://github.com/bitfocus/companion.git

git fetch upstream

git checkout master

git reset --hard upstream/master

git push origin master --force