I want to remove the bitbucket tracking branch. I'm not sure the terminology I'm using is correct, so that might contribute to why I haven't been able to Google for a solution.
This is what I have:
tom@thinkpad:~/example$ git remote -v
bitbucket [email protected]:TomLeo/example.git (fetch)
bitbucket [email protected]:TomLeo/example.git (push)
origin [email protected]:TomLeo/example.git (fetch)
origin [email protected]:TomLeo/example.git (push)
This is what I want:
tom@thinkpad:~/example$ git remote -v
origin [email protected]:TomLeo/example.git (fetch)
origin [email protected]:TomLeo/example.git (push)
You can run:
git remote remove bitbucket
From the git-remote man page:
git remote remove < name >
remove, rm
Remove the remote named <name>. All remote-tracking branches and configuration settings for the remote are removed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With