|
|
|
|
|
by capableweb
1242 days ago
|
|
> simulate actions on Git repos without actually modifying them One way around this could be to create a new temporary directory in /tmp, copy .git over there and symlink the rest, then run whatever operation in the newly copied workspace and compare it with the original. Then you can mutate things however you want and the original stays the same. |
|
Will need to think about it more...