Answer Posted / Avdhesh P.singh
You can amend a commit (fixing it) using 'git commit --amend' and then force pushing the branch to the remote repository with 'git push --force'. Be cautious when using this command, as other developers may have already pulled or based their work on your broken commits.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers