git添加远程
git remote add heroku https://git.heroku.com/arrecs.git
git remote -v
-> heroku https://git.heroku.com/arrecs.git (fetch)
-> heroku https://git.heroku.com/arrecs.git (push)
git remote remove heroku
git remote -v
git设置远程
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
git连接到远程仓库
git init
git commit -m "[message]"
git remote add origin "github repository link"
git push -u origin master
git远程
git remote add origin https://github.com/xxx/xxx-new.git
git branch -M main
git push -u origin main
github添加新origin
git init .
git remote add origin <http/someURL>
git pull origin master