diff --git a/content/meta/index.json b/content/meta/index.json index 90ba098ae..871f9f70c 100644 --- a/content/meta/index.json +++ b/content/meta/index.json @@ -6403,5 +6403,11 @@ ], "path_alias.46ab1f1e-06fa-41e6-ac2c-ff574166d10c": [ "node.4a206e60-833c-4abd-bcc4-b97d8617f3ee" + ], + "node.b2c3f5ed-2db6-46da-a532-b1e9beb9f1d0": [ + "user.b8966985-d4b2-42a7-a319-2e94ccfbb849" + ], + "path_alias.21fec378-d284-4cc4-af89-c20a4149f8b2": [ + "node.b2c3f5ed-2db6-46da-a532-b1e9beb9f1d0" ] } \ No newline at end of file diff --git a/content/node.b2c3f5ed-2db6-46da-a532-b1e9beb9f1d0.json b/content/node.b2c3f5ed-2db6-46da-a532-b1e9beb9f1d0.json new file mode 100644 index 000000000..bd5d736a3 --- /dev/null +++ b/content/node.b2c3f5ed-2db6-46da-a532-b1e9beb9f1d0.json @@ -0,0 +1,92 @@ +{ + "uuid": [ + { + "value": "b2c3f5ed-2db6-46da-a532-b1e9beb9f1d0" + } + ], + "langcode": [ + { + "value": "en" + } + ], + "type": [ + { + "target_id": "daily_email", + "target_type": "node_type", + "target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7" + } + ], + "revision_timestamp": [ + { + "value": "2025-06-10T20:13:18+00:00" + } + ], + "revision_uid": [ + { + "target_type": "user", + "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" + } + ], + "revision_log": [], + "status": [ + { + "value": true + } + ], + "uid": [ + { + "target_type": "user", + "target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849" + } + ], + "title": [ + { + "value": "Easily amend commits with git-instafix " + } + ], + "created": [ + { + "value": "2025-06-10T19:59:46+00:00" + } + ], + "changed": [ + { + "value": "2025-06-10T20:13:18+00:00" + } + ], + "promote": [ + { + "value": false + } + ], + "sticky": [ + { + "value": false + } + ], + "default_langcode": [ + { + "value": true + } + ], + "revision_translation_affected": [ + { + "value": true + } + ], + "path": [ + { + "alias": "", + "pid": null, + "langcode": "en" + } + ], + "body": [ + { + "value": "How often do you make commits to a Git branch to later realise that you need to amend one of your unpushed commits?\r\n\r\nA simple `git commit --amend` will only work on the most recent commit, so that won't work if you've added more commits after the one you want to amend.\r\n\r\nYou can make a temporary commit, rebase your branch and squash the temporary commit into the original one.\r\n\r\nOr you can use [git-instafix][0] - a tool for easily fixing and amending old commits.\r\n\r\nInstead of making a temporary commit, running `git-instafix` will show your unpushed commits - allowing you to select one and it will amend it for you in a single step, making it easier to keep your Git commit history cleaner and easier to read and review.\r\n\r\n[0]: https:\/\/github.com\/quodlibetor\/git-instafix", + "format": "markdown", + "processed": "
How often do you make commits to a Git branch to later realise that you need to amend one of your unpushed commits?<\/p>\n
A simple You can make a temporary commit, rebase your branch and squash the temporary commit into the original one.<\/p>\ngit commit --amend<\/code> will only work on the most recent commit, so that won't work if you've added more commits after the one you want to amend.<\/p>\n