mirror of
https://github.com/mike-rambil/Advanced-Git.git
synced 2026-04-30 04:00:52 -05:00
chore: force-generate all markdown files and README.md
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# git replace <old-commit> <new-commit>
|
||||
|
||||
|
||||

|
||||
> Temporarily substitute one commit for another.
|
||||
|
||||
|
||||
#### Command
|
||||
```sh
|
||||
git replace abc123 def456
|
||||
```
|
||||
|
||||
#### Examples
|
||||
- **Temporarily replace commit abc123 with def456.**
|
||||
|
||||
|
||||
```sh
|
||||
git replace abc123 def456
|
||||
```
|
||||
|
||||
|
||||
#### Steps
|
||||
1. Run `git replace <old-commit> <new-commit>` to test or patch history.
|
||||
|
||||
|
||||
#### Tags
|
||||
`replace`, `history`
|
||||
|
||||
#### Author
|
||||
mike-rambil
|
||||
|
||||
#### Last Updated
|
||||
2024-06-10
|
||||
Reference in New Issue
Block a user