git replace
Create, list, and delete refs to replace objects. More information: https://git-scm.com/docs/git-replace.
- Replace any commit with a different one, leaving other commits unchanged:
git replace
- Delete existing replace refs for the given objects:
git replace
- Edit an object's content interactively:
git replace --edit
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
