-
查看当前远程仓库配置
$ git remote -v
-
在 git.supremind.info 创建新的项目
-
添加新项目仓库
# remote-name 可任意指定, 如 sm # repo 为 上一步创建的项目 git 地址 $ git remote add <remote-name> <repo>
-
将本地分支 push 至新的远程仓库
# (Optional) 先将本地代码与原远程仓库同步 $ git pull --ff-only $ git push -u <remote-name> <branch>