in Git by
How can you fix a broken commit?

1 Answer

0 votes
In order to fix any broken commit, use the command “git commit --amend”. When you run this command, you can fix the broken commit message in the editor.

Related questions

0 votes
asked Jan 9, 2021 in Git by SakshiSharma
0 votes
asked Jun 26, 2019 in Continuous Deployment by SakshiSharma
0 votes
asked Oct 15, 2019 in Git by rajeshsharma
+1 vote
asked Jul 25, 2019 in Git by SakshiSharma