---
title: "Discussion on \"How to change the last commit message in git?\" | Hashnode"
description: "Discussion on \"How to change the last commit message in git?\". In this blog we are going to learn how to change the last commit message using --amend"
url: "https://hashnode.com/posts/how-to-change-the-last-commit-message-in-git/63c99201c51dafca46ca06f7"
---

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

Discussion

# [How to change the last commit message in git?](https://potatoesblog.tech/how-to-change-the-last-commit-message-in-git?utm_source=hashnode&utm_medium=feed)

In this blog we are going to learn how to change the last commit message using --amend

Jan 19, 2023 · 2 min read · potatoesblog.tech  
Read the article

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

## Written by

[Gassai Hamza](https://hashnode.com/@gassaihamza)

@gassaihamza

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

programming

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
