前提・実現したいこと
Gitを使ってHerokuにリポジトリをプッシュしたいです。
発生している問題・エラーメッセージ
Herokuを使いアプリケーションを公開できるようにしたいのですが、リポジトリをherokuにプッシュするときにエラーが発生します。
原因はおそらくgit mergeする際にコンフリクトを起こしていたようでそのまま開発を進めていた為、収集がつかなくなってしまいました、、汗
とりあえずコンフリクトを解消させようと調べながら試行錯誤していたのですが、手も足も出ません。汗
アドバイス頂けないでしょうか、、
git push heroku master エラー内容 error: failed to push some refs to 'https://git.heroku.com/glacial-plateau-20908.git'
該当のソースコード
リポジトリの現状 git log --all --graph --pretty=format:'%h %d %s' --abbrev-commit * 9150aa2 elseの場合 * c8e4ce6 ああああ * 9cffab2 条件わけあとちょっと * c219586 csv showの中身設定 * ad58668 csv windowsではできる macに向けてしゅうせいせななあ | *-. 89f6ceb (refs/stash) WIP on master: d0e69ef カラムへんこう前 | |\ \ |/ / / | | * 499f085 untracked files on master: d0e69ef カラムへんこう前 | * a986916 index on master: d0e69ef カラムへんこう前 |/ * d0e69ef カラムへんこう前 * 3e78f20 バグ修正 * ec89cb3 上長2の場合 賊長承認申請 まだまだ続いてます、、
git status interactive rebase in progress; onto eff9ef2 Last command done (1 command done): pick 8685f35 とりあえず分からん Next commands to do (96 remaining commands): pick 469c847 拠点情報の修正完了 pick 0644dea 残業申請 (use "git rebase --edit-todo" to view and edit) You are currently rebasing branch 'master' on 'eff9ef2'. (fix conflicts and then run "git rebase --continue") (use "git rebase --skip" to skip this patch) (use "git rebase --abort" to check out the original branch) Changes to be committed: (use "git reset HEAD <file>..." to unstage) deleted: app/assets/javascripts/basis_infomation.coffee deleted: app/assets/stylesheets/basis_infomation.scss modified: app/controllers/application_controller.rb new file: app/views/bases/index.html.erb new file: app/views/bases/new.html.erb new file: app/views/bases/show.html.erb new file: app/views/shared/_error_messages_base.html.erb new file: db/migrate/20191119043104_create_bases.rb modified: db/seeds.rb Unmerged paths: (use "git reset HEAD <file>..." to unstage) (use "git add <file>..." to mark resolution) both added: app/controllers/bases_controller.rb both modified: app/models/user.rb both modified: app/views/layouts/_header.html.erb both modified: db/schema.rb
ターミナル ec2-user:~/environment/kintai_A (master|REBASE-i 1/97) (master|REBASE-i 1/97) となっておりこれが消せない。これの意味が分からない。
試したこと
コンフリクトを改善する為には一旦 merge するか git rebase でリポジトリをまとめようとしたのですが、途中で分からなくなってしまい
ec2-user:~/environment/kintai_A (master|REBASE-i 1/97)
と常に表示されるようになりました。1/97の意味も調べていたのですが、答えがわかりません汗
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/01/01 08:16