I am trying to remove a remote git. I just deleted the heroku remote url with the command
$ git remote rm heroku
but when I try to use it on the remote control for a bitbucket (origin). Error with error
git remote rm origin fatal: could not unset 'branch.master.remote'
where when listing the remote using
$ git remote -v
clearly mentioned
origin git@bitbucket.org :username/myapp.git (fetch) origin git@bitbucket.org :username/myapp.git (push)
.git / config
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [branch "master"] [branch "static-pages"] [remote "origin"] url = git@bitbucket.org :myUserName/mY_Hidden_App.git fetch = +refs/heads/*:refs/remotes/origin/*
source share