Re: pushed the wrong commit, hook prevents fixing - https://cygwin.com/cgit/cygwin-packages/virt-manager/

Jon Turney via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
On 08/08/2026 20:21, Jason Pyeron via Cygwin wrote:
> I oopsed, how can I fix my accidental push? Or can someone else?

non-fastfoward pushes to main/master are not allowed (for obvious 
reasons), so the only way to rewrite history like this is to adjust the 
repo directly on sourceware.

I have rewound master and pushed the bundle you provided.

> https://cygwin.com/cgit/cygwin-packages/virt-manager/
> 
> $ git log -1
> commit cef38178bb4fa97c24bbb270eb0fa30039d5803c (HEAD -> master)
> Author: Jason Pyeron <[email protected]>
> Date:   Sat Aug 8 15:08:15 2026 -0400
> 
>      virt-manager 5.1.0
> 
> The correct commit is below as a bundle.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.