Ciasto piekarz Ciasto piekarz - 1 year ago 148
Git Question

How do I remove remote git server from local repository

Hi I have a git repository pulled local from, how do I remove the remove server and just keep the local git server (i.e last 2 lines)

youInside (fetch)
youInside (push)
origin (fetch)
origin (push)
pi git@ (fetch)
pi git@ (push)

Answer Source

List your remotes

  git remote -v

remove your remote

  git remote remove origin

Origin should be the remote name

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download