Несколько недель назад я успешно отправил живое приложение на heroku в стеке кедра на livebytransit.com, и до недавнего времени я успешно продвигал изменения кода. Я не смог нажать изменения кода после создания промежуточного приложения из того же рабочего каталога ... см .day-cloud-6227.herokuapp.com. Я думал о том, чтобы сначала перенести изменения в дневное облако, а затем, если все выглядело хорошо, перейти на основной сайт. В настоящее время я не могу вносить изменения ни в одно из приложений.
Вот код, который показывает некоторые вещи, которые я пробовал. Я думаю, что в этом так много всего плохого, что лучше всего создать новую папку, клонировать приложение из github и заново развернуть новое приложение на heroku и записать два существующих приложения ... но у меня есть несколько пользователи, которые будут потрясены этим процессом, поэтому я хотел бы спасти то, что у меня есть в моем существующем каталоге, если это возможно.
TBones-MacBook-Pro:livebytransit PG$ git remote -v
afternoon-cloud-6227 git@heroku.com:afternoon-cloud-6227.herokuapp.git (fetch)
afternoon-cloud-6227 git@heroku.com:afternoon-cloud-6227.herokuapp.git (push)
heroku git@heroku.com:livebytransit.herokuapp.git (fetch)
heroku git@heroku.com:livebytransit.herokuapp.git (push)
orgin git@github.com:tom-brown/LiveByTransit.git (fetch)
orgin git@github.com:tom-brown/LiveByTransit.git (push)
TBones-MacBook-Pro:livebytransit PG$ git add .
TBones-MacBook-Pro:livebytransit PG$ git commit -am"lots of changes that have been pushed to github already via git push orgin master"
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: voting (modified content)
#
no changes added to commit (use "git add" and/or "git commit -a")
TBones-MacBook-Pro:livebytransit PG$ git push afternoon-cloud-6227
! Invalid path.
! Syntax is: git@heroku.com:<app>.git where <app> is your app's name.
fatal: The remote end hung up unexpectedly
TBones-MacBook-Pro:livebytransit PG$ git push orgin master
Everything up-to-date
TBones-MacBook-Pro:livebytransit PG$ git remote rm afternoon-cloud-6227
TBones-MacBook-Pro:livebytransit PG$ git remote add livebytransit git@heroku.com:livebytransit.herokuapp.git
TBones-MacBook-Pro:livebytransit PG$ git remote -v
heroku git@heroku.com:livebytransit.herokuapp.git (fetch)
heroku git@heroku.com:livebytransit.herokuapp.git (push)
livebytransit git@heroku.com:livebytransit.herokuapp.git (fetch)
livebytransit git@heroku.com:livebytransit.herokuapp.git (push)
orgin git@github.com:tom-brown/LiveByTransit.git (fetch)
orgin git@github.com:tom-brown/LiveByTransit.git (push)
TBones-MacBook-Pro:livebytransit PG$ git add .
TBones-MacBook-Pro:livebytransit PG$ git commit -a -m "lots of changes already commited to github via git push orgin master"
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: voting (modified content)
#
no changes added to commit (use "git add" and/or "git commit -a")
TBones-MacBook-Pro:livebytransit PG$ git push orgin master
Everything up-to-date
TBones-MacBook-Pro:livebytransit PG$ git push heroku master
! Invalid path.
! Syntax is: git@heroku.com:<app>.git where <app> is your app's name.
fatal: The remote end hung up unexpectedly
TBones-MacBook-Pro:livebytransit PG$ git push heroku livebytransit
! Invalid path.
! Syntax is: git@heroku.com:<app>.git where <app> is your app's name.
fatal: The remote end hung up unexpectedly
TBones-MacBook-Pro:livebytransit PG$ git push heroku git@heroku.com:livebytransit.herokuapp.git
! Invalid path.
! Syntax is: git@heroku.com:<app>.git where <app> is your app's name.
fatal: The remote end hung up unexpectedly
TBones-MacBook-Pro:livebytransit PG$ git push heroku:livebytransit.herokuapp.git
ssh: Could not resolve hostname heroku: nodename nor servname provided, or not known
fatal: The remote end hung up unexpectedly
Одна вещь, которая действительно озадачивает меня, это то, почему происхождение написано с ошибкой. Это заставляет меня задуматься, изменил ли я это случайно? Любые мысли или советы будут очень признательны.