Simon Willison’s Weblog

Subscribe

Friday, 22nd October 2021

TIL Removing a git commit and force pushing to remove it from history — I accidentally triggered a commit which added a big chunk of unwanted data to my repository. I didn't want this to stick around in the history forever, and no-one else was pulling from the repo, so I decided to use force push to remove the rogue commit entirely.

2021 » October

MTWTFSS
    123
45678910
11121314151617
18192021222324
25262728293031