Which statement is true about a commit in Git?
Once a commit has been pushed to a remote repository, it generally should not be changed because rewriting published history can disrupt collaborators who have based work on that commit. Git commits are completed locally and do not depend on remote synchronization or acknowledgement.
Community Discussion