简体   繁体   中英

heroku git repo change

Muhammed-Bhikhas-MacBook-Pro:mashs_wing_ranch BH1KH4$ git remote -v
heroku  git@heroku.com:sleepy-cliffs-9120.git (fetch)
heroku  git@heroku.com:sleepy-cliffs-9120.git (push)
origin  git@heroku.com:gentle-bastion-5131.git (fetch)
origin  git@heroku.com:gentle-bastion-5131.git (push)

When I run git remote -v, I get the wrong app for heroku. That is an app I had previously, how do I get the sleepy-cliffs-9120.git to change to my new app gentle-bastion-5131 ?

git remote set-url heroku git@heroku.com:gentle-bastion-5131.git

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM