Sourcetree pushes two repositories at the same time
Add remote warehouse
Note that the names cannot be the same, just choose a name to distinguish it yourself, and don't confuse yourself.
added complete
to push
- Choose a warehouse.
- Select the target branch. and check it
跟踪
. - push.
push complete
After the push is complete, you can see the branch on the remote end.
git command version
// 添加远端仓库 1
git remote add gitee-origin [email protected]:jerry/test.git
// 添加远端仓库 2
git remote add gitlab-origin http://127.0.0.1/wechat/test.git
// 查看
git remote -v
gitee-origin [email protected]:jerry/test.git (fetch)
gitee-origin [email protected]:jerry/test.git (push)
gitlab-origin http://127.0.0.1/wechat/test.git (fetch)
gitlab-origin http://127.0.0.1/wechat/test.git (push)