>>> "KK" == Konstantin Khomoutov <kos...@bswap.ru> writes:
> On Fri, Nov 26, 2021 at 07:02:06PM +0100, Uwe Brauer wrote: >> A couple of minutes ago I screwed up a repository at sourceforge. >> >> In my machine it reads >> >> commit 89346f81fef27286bd3fb1ed3ddc94a6f3fb560d (origin/copyright, >> origin/copy) >> | Author: Uwe Brauer <o...@mat.ucm.es> >> | Date: Thu Nov 25 10:43:56 2021 +0100 >> | >> | Add patches to my new branch >> | >> | --HG-- >> | branch : copyright >> | >> * commit 66380013003549a6851d4e110b29a5a439e05609 >> | Author: Uwe Brauer <o...@mat.ucm.es> >> | Date: Mon Nov 22 21:51:13 2021 +0100 >> | >> | Add patches to a special, named branch! >> | >> | --HG-- >> | branch : copyright >> | >> * commit c945bf50251150e0d4ad7ee751c7e9615cb4b3e8 (origin/master, >> origin/HEAD) >> | Author: Uwe Brauer <o...@mat.ucm.es> >> | Date: Mon Nov 22 09:33:48 2021 +0100 >> | >> | Correct a silly typo in company-matlab-shell.el >> | >> | * company-matlab-shell.el: 677 correct a silly typo: Auctex should be >> Matlab >> >> >> The first two commits I should have pushed. > What are the first two? The two at the bottom - so that these are c945bf50251 > and 66380013003? Thanks for you answer. I only saw it by now. I mispelled the commits. I meant I should *NOT* have pushed >> commit 89346f81fef27286bd3fb1ed3ddc94a6f3fb560d (origin/copyright, >> origin/copy) >> | Author: Uwe Brauer <o...@mat.ucm.es> >> | Date: Thu Nov 25 10:43:56 2021 +0100 >> | >> | Add patches to my new branch >> | >> | --HG-- >> | branch : copyright >> | >> * commit 66380013003549a6851d4e110b29a5a439e05609 >> | Author: Uwe Brauer <o...@mat.ucm.es> >> | Date: Mon Nov 22 21:51:13 2021 +0100 >> | >> | Add patches to a special, named branch! >> | >> | --HG-- >> | branch : copyright >> | In other words I need to remove >> commit 89346f81fef27286bd3fb1ed3ddc94a6f3fb560d (origin/copyright, >> origin/copy) >> * commit 66380013003549a6851d4e110b29a5a439e05609 > If yes, then it's simple: do > $ git push -f origin 66380013003:master By that logic I should run git push -f origin c945bf50251150e0d4ad7ee751c7e9615cb4b3e8:master But this seemed not to have helped. When I clone the repository I see in a different local directory again adn run git log --all @commit 89346f81fef27286bd3fb1ed3ddc94a6f3fb560d (origin/copyright, origin/copy) | Author: Uwe Brauer <o...@mat.ucm.es> | Date: Thu Nov 25 10:43:56 2021 +0100 | | Add patches to my new branch | | --HG-- | branch : copyright | * commit 66380013003549a6851d4e110b29a5a439e05609 | Author: Uwe Brauer <o...@mat.ucm.es> | Date: Mon Nov 22 21:51:13 2021 +0100 | | Add patches to a special, named branch! | | --HG-- | branch : copyright | * commit c945bf50251150e0d4ad7ee751c7e9615cb4b3e8 (HEAD -> master, origin/master, origin/HEAD) That is these two commits have not been removed. Not sure how to proceed. Thanks Uwe -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/87mtlq37iq.fsf%40mat.ucm.es.
smime.p7s
Description: S/MIME cryptographic signature