github修改库名称

  1. linux上的库/root/py.bak,现在想把它名字改为/root/py.algor

  2. mv /root/py.bak /root/py.algor

  3. mv /root/.ssh/py.bak /root/.ssh/py.algor

  4. 登录github,切到py.bak的settings中,rename为py.algor

  5. vi /root/py.algor/.git/config

    [remote "origin"]

            url = git@github.com:lbs1991/py.bak.git

    改为


    [remote "origin"]

            url = git@github.com:lbs1991/py.algor.git

相关文章
相关标签/搜索