Recentemente ho iniziato a utilizzare GitHub for Windows.In conflitto, GitHub per Windows mi mette in stato "rebasing", come andare da lì?
Ho appena avuto un conflitto. Sulla linea di comando che sapere come gestire questo, ma GitHub for Windows scelto di mettermi in uno stato non ho familiarità con:
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)
...
ho fissato il conflitto, ha impegnato i file, ma quando corro git push
I Mi è stato detto:
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>
Qual è il modo consigliato per ottenere il commit unione al master remoto?
Dubito che git push origin HEAD:master
raggiungerà questo.
cosa intendi con "verifica che non stai modificando alcun commit pubblico"? –