Skip to content

Create script to easily correct a commit #9

@teobais

Description

@teobais

So, you forgot something on your last commit.

What to do? Commit again that small change and pollute your git history?
Of course not!

You know the drill:

  • git reset HEAD~1
  • git add -A
  • git commit -m "[last-commit-message]" / or just [last-git-commit-command-from-history]
  • git push -f

Automate the above :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions