[Mystery solved, I owe you an apology] (was: [git-users] how to remove two commits from a remote server)

2021-12-01 Thread Uwe Brauer
>>> "KK" == Konstantin Khomoutov writes: > On Mon, Nov 29, 2021 at 05:44:51PM +0100, Uwe Brauer wrote: > [...] >> Ok, right, I see now that I left out that important part of information. >> It should have been >> >> 1. I created the copyright (and copy branch one of them was silly anyway) and

Re: [SOLVED] (was: [git-users] how to remove two commits from a remote server)

2021-11-29 Thread Konstantin Khomoutov
On Sun, Nov 28, 2021 at 05:21:41PM +0100, Uwe Brauer wrote: [...] > Here is what I did finally and checked also the repository via the > browser and all is well: > > git push -f origin c945bf50251150e0d4ad7ee751c7e9615cb4b3e8:master > git branch -rD origin/copyright > git branch -rD origin/copy

Re: [git-users] how to remove two commits from a remote server

2021-11-29 Thread Konstantin Khomoutov
On Mon, Nov 29, 2021 at 05:44:51PM +0100, Uwe Brauer wrote: [...] > Ok, right, I see now that I left out that important part of information. > It should have been > > 1. I created the copyright (and copy branch one of them was silly anyway) > and > > 2. Added two commits into that bra

Re: [git-users] how to remove two commits from a remote server

2021-11-29 Thread Uwe Brauer
>>> "KK" == Konstantin Khomoutov writes: > On Sun, Nov 28, 2021 at 09:02:46AM +0100, Uwe Brauer wrote: > [...] >>> That wasn't needed; you would have been better off by merely running >> As I said, I want to get rid of those commits and to check what other >> users see. When I browse with say fi

Re: [git-users] how to remove two commits from a remote server

2021-11-29 Thread Konstantin Khomoutov
On Sun, Nov 28, 2021 at 09:02:46AM +0100, Uwe Brauer wrote: [...] >> That wasn't needed; you would have been better off by merely running > As I said, I want to get rid of those commits and to check what other > users see. When I browse with say firefox the repository the commits are > still ther

[SOLVED] (was: [git-users] how to remove two commits from a remote server)

2021-11-28 Thread Uwe Brauer
> On Fri, Nov 26, 2021 at 10:57:01PM +0100, Uwe Brauer wrote: > [...] > [...] > [...] Here is what I did finally and checked also the repository via the browser and all is well: git push -f origin c945bf50251150e0d4ad7ee751c7e9615cb4b3e8:master git branch -rD origin/copyright git branch -rD or

Re: [git-users] how to remove two commits from a remote server

2021-11-28 Thread Uwe Brauer
>>> "KK" == Konstantin Khomoutov writes: Two more comments > That wasn't needed; you would have been better off by merely running As I said, I want to get rid of those commits and to check what other users see. When I browse with say firefox the repository the commits are still there. > gi

Re: [git-users] how to remove two commits from a remote server

2021-11-27 Thread Uwe Brauer
>>> "KK" == Konstantin Khomoutov writes: Hi Thanks very much for you detailed answer, I still have one question and more importantly one problem left. > On Fri, Nov 26, 2021 at 10:57:01PM +0100, Uwe Brauer wrote: >> >> By that logic I should run >> >> git push -f origin c945bf50251150e0d4

Re: [git-users] how to remove two commits from a remote server

2021-11-27 Thread Konstantin Khomoutov
On Fri, Nov 26, 2021 at 10:57:01PM +0100, Uwe Brauer wrote: [...] > I meant I should *NOT* have pushed > > >> commit 89346f81fef27286bd3fb1ed3ddc94a6f3fb560d (origin/copyright, > >> origin/copy) [...] > >> * commit 66380013003549a6851d4e110b29a5a439e05609 [...] > In other words I need to remove

Re: [git-users] how to remove two commits from a remote server

2021-11-26 Thread Uwe Brauer
>>> "KK" == Konstantin Khomoutov 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) >>

Re: [git-users] how to remove two commits from a remote server

2021-11-26 Thread Konstantin Khomoutov
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 > | Date: Thu Nov 25 10:43

[git-users] how to remove two commits from a remote server

2021-11-26 Thread Uwe Brauer
Hi 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 | Date: Thu Nov 25 10:43:56 2021 +0100 | | Add patches to my new branch | | --HG-- |