Your post make git looks less scary 😂 thanks for writing this! I never heard about the amend option and it looks very useful mostly to remove private information added accidentally.
Amend is convenient when you want to change something in the lastest commit. If you want to modify earlier commits else you can do fixup-commits that you squash into the original, or do an interactive rebase and (e)dit the concerned commits.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Your post make git looks less scary 😂 thanks for writing this! I never heard about the amend option and it looks very useful mostly to remove private information added accidentally.
Amend is convenient when you want to change something in the lastest commit. If you want to modify earlier commits else you can do fixup-commits that you squash into the original, or do an interactive rebase and (e)dit the concerned commits.