!`git status`
Amends the last commit with new changes, refusing if already pushed to remote.
/plugin marketplace add fusengine/agents/plugin install fuse-commit-pro@fusengine-plugins!git status
!git log -1 --pretty=format:'%h %s%n%b'
!git log origin/HEAD..HEAD --oneline 2>/dev/null || echo "No remote tracking"
Safely amend the last commit.
IF the last commit is already pushed to remote:
fix(scope): correct previous commit insteadIF the last commit is NOT pushed:
git add -Agit commit --amend --no-editgit commit --amend -m "new message"git log -1NEVER use --force push after amend on shared branches (main, master, develop).