⬅️ Back to Useful Rare Git Commands You Never Heard Of
Temporarily substitute one commit for another.
git replace abc123 def456- Temporarily replace commit abc123 with def456.
git replace abc123 def456- Run
git replace <old-commit> <new-commit>to test or patch history.
replace, history
mike-rambil
2024-06-10