How do I completely disconnect a local Git repository from all remote branches?
I cloned a Git repository from github.com, but then it was deleted and I don't want Git to report any changes needing to be "pushed up". I've tried googling this, but I think my terminology is wrong, and I'm not finding anything.
Can I simply delete the [remote "origin"]
and [branch "master"]
sections from my .git/config file or will that break my local repository?
git remote rm origin
should work.