2025-08-04 01:09:00 +01:00
|
|
|
---
|
|
|
|
title: git-instafix
|
|
|
|
date: 2024-08-22 12:28:26
|
|
|
|
tags: [Software Developmemt, Git]
|
2025-09-10 08:00:00 +01:00
|
|
|
note: true
|
|
|
|
permalink: /notes/10-git-instafix
|
2025-08-04 01:09:00 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
[git instafix](https://github.com/quodlibetor/git-instafix) is a tool that allows you to easily amend (or fix) previous Git commits.
|
|
|
|
|
|
|
|
How it works:
|
|
|
|
|
|
|
|
- Commit your original changes.
|
|
|
|
- Make more changes and stage them with `git add -p`.
|
|
|
|
- Run `git-instafix` (or `git instafix`, but this doesn't tab complete for me).
|
|
|
|
- Select the commit you want to amend.
|
|
|
|
- `git-instafix` will amend it and move you back to the HEAD commit.
|