Skip to content

Instantly share code, notes, and snippets.

View animer3009's full-sized avatar

Zaza Javakhishvili animer3009

View GitHub Profile
@animer3009
animer3009 / gist:fa89cbfca9bbea018a9863109fcf6d27
Created September 15, 2022 21:17 — forked from hacksalot/gist:72517b9b1c145116e89e
Delete GitHub wiki revisions
# Delete prior revisions from a GitHub wiki so that only the most-recent
# version of the content is available.
# Clone the wiki.
git clone https://github.com/[user]/[repo].wiki.git
# Remove the .git folder.
rm -rf .git
# Reconstruct the local repo with only latest content