這讓我非常瘋狂。如何擺脫嘗試應用特定提交合並
我只想繼續並停止收到有關55aaad5的消息。 我不在乎我和我想忽略它或讓它消失!我只想繼續重新組裝我的登錄分支git rebase develop
,我已經簽出了與遠程原始/登錄分支同步的git rebase develop
。
每當我試圖通過它,它不斷讓我合併文件,我已經解決了過去!
分支/主頁登錄✔0米
▶git的狀態
On branch log-in
Your branch is up-to-date with 'origin/log-in'.
nothing to commit, working tree clean
分支/主頁登錄✔0米
▶git的變基-i發展
error: could not apply 51fcda4... problem with call to API - getting 403
When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".
Could not apply 51fcda43833973b36fd496c47ab9bcaa0b888a89... problem with call to API - getting 403
個分支/主頁a07cc17✗14h10m§✚⍉
▶git的變基--skip
error: could not apply 55aaad5... added integration test script to package.json
When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".
Could not apply 55aaad5b7dd394134f238c70b7edd0db8723de23... added integration test script to package.json
我也想擺脫這種分支,只是回到我原來的登錄分支,但我得到
branches/homepage a07cc17✗14h10m⍉ ▶git rebase -i develop
似乎已經有一個rebase-merge目錄,並且 我想知道你是否正處於另一個rebase的中間。如果這是 的情況,請嘗試 git rebase(--continue | --abort | --skip) 如果情況並非如此,請 rm -fr「homepage/.git/rebase-merge」 和再次運行我。我正在阻止,以防你仍然有某些 有價值。
分支/主頁a07cc17✗14h19m⍉ ▶git的結帳登錄 的src /測試/集成/ api.integration.spec.js:需要合併 錯誤:你需要解決您的當前索引第一
它迫使我做一個git add,然後迫使我重新合併一堆已經解決的廢話。我怎麼說不,我不想讓我再次登錄登錄分支?
好,我做了一個混帳結賬-f登錄,現在我得到:
▶git的狀態 分支登錄 你的分支上最新與「產地/登錄'。 做最後的命令(55個命令完成): 挑51fcda4問題,調用API - 讓403 挑55aaad5添加集成測試腳本的package.json (看到更多的文件git的/重訂合併/完成) 下命令(使用「git rebase --edit-todo」查看和編輯) 您正在編輯提交,同時重新設定分支'登錄'在'bbea7dc'上。 (使用「git的承諾--amend」修改當前提交) (使用「git的變基--continue」一旦你滿意你的變化)
什麼承諾,工作樹幹淨
我我不確定我在什麼狀態,我不是git的專家。
你想在開發之上進行rebase,但忽略55aaad5? –
@ C-Otto correct – PositiveGuy
在'git rebase -i develop'中,只需刪除以'55aaad5'開頭的行。 –