命令:

  1. git init

  2. git remote add <新增的仓库名> <创建仓库的HTTPs url>

  3. git pull <新增的仓库名>
    Idea 使用Git 提交码云

  4. git branch -a
    remotes/<新增的仓库名>/master
    Idea 使用Git 提交码云

  5. git checkout -b master --track <新增的仓库名>/master
    Idea 使用Git 提交码云

相关文章: