I somehow added a fork as a remote to my local repository and later on I issued git pull
- to my dismay git pulled all fork branches as local tracking branches. How can I undo this with one command ? All branches show in gitk as remote/wr/branchname
Do I then have to remove the entry from .git/config
?
[remote "wr"]
url = https://github.com/AUTHOR/wrye-bash.git
fetch = +refs/heads/*:refs/remotes/wr/*