DEV Community

eneasmarin
eneasmarin

Posted on

1

Undo unsigned GitHub commit

Here's a quick post for those that for some reason manually sign their commits using the -S flag and eventually forget to.

In the cases that the commit is still not pushed just run

git commit --amend --no-edit -S

And voilá, problem solved

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more