git commit --amend:修改最近一次 Commit | Git

本章覆盖:amend message;amend content;replace commit;new commit id;author / committer metadata;local commit cleanup;published history warning;accidental missing file;pre-push use;force push consequence。

本章知识点

  • amend message
  • amend content
  • replace commit
  • new commit id
  • author / committer metadata
  • local commit cleanup
  • published history warning
  • accidental missing file
  • pre-push use
  • force push consequence