I set my url to other url with git config .insteadOf , and now I want to break the link of it. But I don't know how to do that and I can't find it at the reference page.
You can remove the section [url "[email protected]"] with:
git config --global --remove-section url."[email protected]"
That is safer than trying to edit manually the git config file.
Reference page: git config#--remove-section
.
All your git config changes go to ~/.gitconfig
, so you should be able to edit it, the relevant part looks like this:
[url "[email protected]"]
insteadOf = gh
so, maybe try removing these lines?
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