cd /path/to/my/repo (sourcetree 创建的文件夹)
git remote add origin https://......
git remote set-url origin
https://.....
git push -u origin --all # pushes up the repo and its refs for the first time
git push -u origin --tags # pushes up any tags
时间: 2024-11-05 16:00:22