Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Ask a Question
How can you fix a broken commit in GIT?
Home
Git
How can you fix a broken commit in GIT?
asked
Oct 15, 2019
in
Git
by
rajeshsharma
Q:
How can you fix a broken commit?
broken-commit
commit-broken
fix-a-broken-commit
1
Answer
0
votes
answered
Oct 15, 2019
by
Robin
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
Q: How will you fix a Broken Commit?
asked
May 21, 2020
by
SakshiSharma
#git-broken-commit
#git-commit
#broken-git-commit
0
votes
Q: How will you find out what all files have been changed in a particular Git commit?
asked
May 21, 2020
in
Git
by
SakshiSharma
#git-commit
#commit-git
0
votes
Q: In Git, how would you return a commit that has just been pushed and made open?
asked
Oct 16, 2019
in
Git
by
rajeshsharma
git-commit
git-revert
+1
vote
Q: In Git how do you revert a commit that has already been pushed and made public?
asked
Oct 15, 2019
in
Git
by
rajeshsharma
git-commit
git-revert
0
votes
Q: How do I undo 'git add' before commit?
asked
Jan 9, 2021
in
Git
by
SakshiSharma
git
version-control
git-commit
git-stage
0
votes
Q: How to configure git to not to add and commit non-source files like IDE configuration or debug log files?
asked
Feb 17, 2020
in
Git
by
SakshiSharma
#git-ide
0
votes
Q: How to revert the previous commit in git?
asked
Feb 17, 2020
in
Git
by
SakshiSharma
#git-commit
0
votes
Q: time taken to fix a broken build is measured using __________
asked
Jun 20, 2020
by
Robindeniel
#roken-build
#build-broken
0
votes
Q: Time taken to fix a broken build is measured using ____
asked
Nov 14, 2019
in
Continuous Integration
by
SakshiSharma
ci-fix
0
votes
Q: Time taken to fix a broken build is measured using __.
asked
Jun 26, 2019
in
Continuous Deployment
by
SakshiSharma
#continousintegration
#continuous-deployment
#continuous-deployment-open-source
#continuous-deployment-software
0
votes
Q: What is the Git command to blow away all the changes in a file in the working area, since the previous commit?
asked
Oct 26, 2020
in
Git
by
AdilsonLima
#git
0
votes
Q: What is the command to write a commit message in Git?
asked
Aug 16, 2020
in
Git
by
RShastri
#git
0
votes
Q: Is there a way to revert a git commit that’s already been pushed and made public?
asked
May 21, 2020
in
Git
by
SakshiSharma
#git-commit
#git-push
#git-public
0
votes
Q: Which command is used for writing a Commit Message in Git?
asked
May 21, 2020
in
Git
by
SakshiSharma
#git-commit
#git-command
#commit-command
0
votes
Q: What is a commit message in GIT?
asked
Oct 15, 2019
in
Git
by
rajeshsharma
commit-message
git-commit
commit-git
0
votes
Q: How can you temporarily switch to a different commit?
asked
Oct 26, 2020
in
Git
by
AdilsonLima
#git
0
votes
Q: Which Git command is use to view all the changes since the last commit?
asked
Jun 8, 2020
in
Git
by
DavidAnderson
#git
0
votes
Q: Which Git command to skip staging and commit the changes directly?
asked
Jun 8, 2020
in
Git
by
DavidAnderson
#git
+1
vote
Q: What is the GIT command to see all changes since the last commit ?
asked
Jul 25, 2019
in
Git
by
Robindeniel
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What is the GIT command to skip staging and directly commit the changes directly ?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
...