나는 몇 년 동안 가지고있는 Heroku의 앱을 가지고 있지만, 이제는 일부 코드를 리팩터링하고 일부 보석을 업데이트해야합니다.이 github/heroku 충돌을 해결하는 방법
처음 앱을 시작했을 때 나는 전혀 다른 기계를 사용하고있었습니다. 그래서 그 앱에 github repo를 복제해야했습니다.
는 이제 첫 번째 변화를 추진하고자하지만이 오류 얻을 :
set git remote heroku to https://git.heroku.com/alfa-blog.git
내가 그것을 이런 식으로 뭔가 할 나 한테 물어 줄 알았는데 :
git remote add heroku https://git.heroku.com/alfa-blog.git
을하지만이 오류가 발생합니다 :
fatal: remote heroku already exists.
어떻게 해결합니까? 불분명 한 점이 있으면 알려 주시기 바랍니다.
원본 원어를 삭제합니까?
$ git remote rename https://git.heroku.com/alfa-blog.git https://github.com/ldco2016/Alpha_Blog.git
fatal: No such remote: https://git.heroku.com/alfa-blog.git
@SebastianPalma, 나는 heroku 하나를 삭제합니까? 위의''git remote -v''' 결과를 추가했습니다. – Ale
리모컨의 이름을 바꾸는 데 문제가 있습니다. 내가 위에 올라가고있는 것을 게시 할 것이다. – Ale
내가 할 때,''치명적 : 아니 리모컨 : alfa-blog'''''$ git remote rename alfa-blog Alpha_Blog''' – Ale