Jonny O'Mahony
10/02/2023, 9:52 AMgt ca -an to modify my previous commit whenever I wanted to make small changes without a new commit. To my understanding that should now be gt modify.
Now though, after staging files, gt modify tells me I’d be committing an empty commit, even though the changes are staged.
~/rasayel/rasayel-core jonny/eng-2941 *32 +1 ❯ gt modify
✔ Preparing lint-staged...
✔ Running tasks for staged files...
✔ Applying modifications from tasks...
✔ Cleaning up temporary files...
On branch jonny/eng-2941
Your branch is up to date with 'origin/jonny/eng-2941'.
No changes
You asked to amend the most recent commit, but doing so would make
it empty. You can repeat your command with --allow-empty, or you can
remove the commit entirely with "git reset HEAD^".
ERROR: Command failed with error exit code 1:
git commit --amend --no-edit
Am I doing something wrong? gt version 1.0.6Jonny O'Mahony
10/02/2023, 9:58 AMJacob Gold
10/02/2023, 3:51 PMcommit --amend in such a way that would allow that to happenJonny O'Mahony
10/02/2023, 3:52 PM