gpt4 book ai didi

GIT 我该怎么办 - 所有冲突都已修复 : run "git rebase --continue"

转载 作者:太空狗 更新时间:2023-10-29 14:29:19 28 4
gpt4 key购买 nike

当我运行 git status 时,我看到以下消息,它似乎在建议我运行 git rebase --continue

我昨天遇到了 merge 冲突,解决了它, merge 了它并将它推送到我们的暂存站点。

更新我运行了 git rebase --skip,它导致了更多问题!

$ (716-RWD) git status
On branch 716-RWD
Your branch is up-to-date with 'origin/716-RWD'.
You are currently rebasing branch '716-RWD' on '7e68797'.
(all conflicts fixed: run "git rebase --continue")

nothing to commit, working directory clean
holy in ~/ubuntu_1404/httpdocs/magento
$ (716-RWD) git rebase --skip
Applying: themed product listings fro mobile
Using index info to reconstruct a base tree...
A skin/frontend/bootstrapped/default/css/rwd.css
M skin/frontend/bootstrapped/default/js/boutique.js
A skin/frontend/bootstrapped/default/sass/_catalog-categories.scss
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): skin/frontend/bootstrapped/default/sass/_catalog-categories.scss deleted in a2de9914584b4eae3b335700e9ef6486c858ab43 and modified in themed product listings fro mobile. Version themed product listings fro mobile of skin/frontend/bootstrapped/default/sass/_catalog-categories.scss left in tree.
CONFLICT (modify/delete): skin/frontend/bootstrapped/default/css/rwd.css deleted in a2de9914584b4eae3b335700e9ef6486c858ab43 and modified in themed product listings fro mobile. Version themed product listings fro mobile of skin/frontend/bootstrapped/default/css/rwd.css left in tree.
Failed to merge in the changes.
Patch failed at 0006 themed product listings fro mobile
The copy of the patch that failed is found in:
/Users/holy/ubuntu_1404/httpdocs/magento/.git/rebase-apply/patch

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".

holy in ~/ubuntu_1404/httpdocs/magento
$ (716-RWD) git status
On branch 716-RWD
Your branch is up-to-date with 'origin/716-RWD'.
You are currently rebasing branch '716-RWD' on '7e68797'.
(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)

modified: app/design/frontend/bootstrapped/default/template/catalog/navigation/left.custom.phtml
new file: media/catalog/category/Booster.png

Unmerged paths:
(use "git reset HEAD <file>..." to unstage)
(use "git add/rm <file>..." as appropriate to mark resolution)

deleted by us: skin/frontend/bootstrapped/default/css/rwd.css
deleted by us: skin/frontend/bootstrapped/default/sass/_catalog-categories.scss

最佳答案

最后我运行了 git rebase --abort 然后 git pull。一切都恢复正常,我在那个分支上所做的所有更改似乎都在那里。

$ (716-RWD) git rebase --abort
ross in ~/ubuntu_1404/httpdocs/magento
$ (716-RWD) git status
On branch 716-RWD
Your branch is behind 'origin/716-RWD' by 7 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working directory clean
ross in ~/ubuntu_1404/httpdocs/magento
$ (716-RWD) git pull

关于GIT 我该怎么办 - 所有冲突都已修复 : run "git rebase --continue",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36217409/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com