Answer the question
In order to leave comments, you need to log in
Can't push after git checkout 86ea83fa5fc913dfee7d0337f50d28bf1795b8fb hash, what should I do?
git status says
HEAD detached from 86ea83
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:
Answer the question
In order to leave comments, you need to log in
How, after rolling back to the old branch, make it the top one?
git checkout git reset
--hard
86ea83
git
push
origin +
HEAD based on the source ref.
error: failed to push some refs to ' https://[email protected]/alexeyk13/coca-cola.git '
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question