git-replace, w: add pages (#4496)

This commit is contained in:
Debasis Mandal
2020-10-13 02:34:01 +05:30
committed by GitHub
parent c4cf48e922
commit b3c2c81d07
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# 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 {{object}} {{replacement}}`
- Delete existing replace refs for the given objects:
`git replace --delete {{object}}`
- Edit an objects content interactively:
`git replace --edit {{object}}`