git clone from local to remote

前端 未结 6 2059
慢半拍i
慢半拍i 2020-12-23 12:03

We\'re in the process of migrating from Mercurial to Git for our workflow and I have two minor issues.

First, is it possible to \"clone\" a local repository directly

6条回答
  •  太阳男子
    2020-12-23 12:18

    Just to give you an alternative, you can use:

    git remote set-url origin git://other.url.here
    

    These also work if your local git respository is pointing to another remote repository

提交回复
热议问题