After some pulling changes from server.
I can not any more push
anything no matter if I try these:
git push
or
I recently has this problem,
and tried running all sorts of commands within git bash
on windows 10
.
But none work, and here's what I tried to resolve this.
Restart the machine, simple!
Sometimes the background processes are so many, or intensive that you can no longer stop them.
After restart, launch the cmd
or cli
to run as administrator
Run git checkout -f
All the changes, if unwanted, will be abandoned in this process.
Once in a new
branch, you can then git branch -D
since you want to drop it.