Pressing commit again after unsuccessful pressing

I had fix problems yesterday, my Git installation should have been corrupted. Now I have a commit that my Git client considers pressed, but this is actually not the case.

How can I re-push this commit?

My Git log looks something like this:

  • Last commit (also exists on the remote device)
  • Some commit (exists on the remote as well)
  • Large commit (does not exist on the remote computer)
  • Other commits (exists on the remote as well)
+4
source share
1 answer

I would rather start over using:

  • new local clone of remote repo.
  • adding remote to the first local clone of the repo and extracting commits to the new local repo
  • cherry - select the missing commit, apply it to the new repo, and then return to the remote repo.

OP znarkus mentions :

It turned out that the problem with my git hosting

+1
source

All Articles