mirror of
https://github.com/jayphelps/git-blame-someone-else.git
synced 2025-06-17 17:41:38 +02:00
Update README.md
it may appear that it's safe thing to do, but rewriting history changes commit id and such repo should not be published
This commit is contained in:
parent
07b4f92f3c
commit
98f7e95237
1 changed files with 2 additions and 0 deletions
|
@ -22,4 +22,6 @@ $ git blame-someone-else <author> <commit>
|
|||
|
||||
This changes not only who authored the commit but the listed commiter as well. It also is something I wrote as a joke, so please don't run this against your production repo and complain if this script deletes everything.
|
||||
|
||||
**WARNING**: It changes id of the commit (the hash) and all commits following it, read about [rewriting history](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History) and consequences of that.
|
||||
|
||||
*Linus Torvalds didn't really approve of this. It's a joke to prove it works. [See his fake commit here](https://github.com/jayphelps/git-blame-someone-else/commit/e5cfe4bb2190a2ae406d5f0b8f49c32ac0f01cd7)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue