How can I find the location of origin/master in git, and how do I change it?

前端 未结 13 555
悲哀的现实
悲哀的现实 2020-12-02 03:33

I\'m a Git newbie. I recently moved a Rails project from Subversion to Git. I followed the tutorial here: http://www.simplisticcomplexity.com/2008/03/05/cleanly-migrate-yo

13条回答
  •  星月不相逢
    2020-12-02 04:14

    I was wondering the same thing about my repo. In my case I had an old remote that I wasn't pushing to anymore so I needed to remove it.

    Get list of remotes:

    git remote
    

    Remove the one that you don't need

    git remote rm {insert remote to remove}
    

提交回复
热议问题