Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change a commit message after push to remote

Jonas Engdahl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2023

I want to edit my commit message but see no command that supports this.

 

1 answer

1 accepted

1 vote
Answer accepted
Fabio Racobaldo _Herzum_
Community Champion
April 3, 2023

Hi @Jonas Engdahl  and welcome,

you can use git commit --amend command to do that.

Please take a look to the following article https://www.atlassian.com/git/tutorials/rewriting-history

Hope this helps,

Fabio

Jonas Engdahl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 5, 2023

Ok- Thanks! So limited to do this for only the last commit as I understand it.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events