В случае конфликта GitHub для Windows переводит меня в состояние «перебазирования», как оттуда идти?
Я недавно начал использоватьGitHub для Windows.
Я только что получил конфликт. В командной строке я бы знал, как с этим справиться, но GitHub для Windows решил поставить меня в состояние, с которым я не знаком:
C:\Users\w\Documents\GitHub\CmisSync [(6026d18...)|REBASE +0 ~1 -0 !1 | +0 ~0 -0 !1]> git status
# Not currently on any branch.
# You are currently rebasing.
# (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)
...
Я исправил конфликт, зафиксировал файлы, но при запускеgit push
Мне сказали:
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD) state now, use
git push origin HEAD:<name-of-remote-branch>
Каков рекомендуемый способ передачи моих слияний на удаленный мастер?
Я сомневаюсьgit push origin HEAD:master
достигнет этого.