mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

#howto

21 posts14 participants1 post today

How to abort a git commit amend
"Sometimes you issue a `git commit --amend` only to realize that you didn't really mean to amend the previous commit."
In vi: `ESC :cq!` (quit without saving and report an error) In anything else: Delete the commit message, so git will complain about the missing message instead of continuing.

tutorialhorizon.comHow to abort a git commit amendSometimes you issue a git commit --amend only to realize that you didnt really mean to amend the previous commit. You'd rather save your changes as a new commit. This can happen under many circumstances like changing your mind at …