---
title: "Discussion on \"How to edit past commit messages, not only previous one.\" | Hashnode"
description: "Discussion on \"How to edit past commit messages, not only previous one.\". $ git commit --amend -m is not the solution."
url: "https://hashnode.com/posts/how-to-edit-past-commit-messages-not-only-previous-one/62852d6c7b02ca162edac962"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to edit past commit messages, not only previous one.](https://blog.techwithakoz.com/how-to-edit-past-commit-messages-not-only-previous-one?utm_source=hashnode&utm_medium=feed)

$ git commit --amend -m is not the solution.

May 18, 2022 · 2 min read · blog.techwithakoz.com  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#vim](https://hashnode.com/tag/vim)

## Written by

[Akoz](https://hashnode.com/@akaakoz)

@akaakoz · Tokyo, Japan

  
[View profile](https://hashnode.com/@akaakoz)

iOS Developer / Freelancer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
