Last active
December 12, 2021 06:25
-
-
Save notmandatory/2486392d207b5dfff85082d7747e685e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone [email protected]:bitcoindevkit/BDWallet.git | |
cd BDWallet | |
git filter-repo --analyze | |
more .git/filter-repo/analysis/blob-shas-and-paths.txt | |
git filter-repo --force --invert-paths --path-glob '*.aar' --path-glob '*/mountain_cover.jpg' --path-glob '*/mountain_background.jpg' --path-glob '*/temp_graph.png' | |
git gc | |
git remote add origin [email protected]:bitcoindevkit/BDWallet.git | |
git push origin --force 'refs/heads/*' | |
## to fix fork [email protected]:notmandatory/BDWallet.git | |
git checkout master | |
git remote add upstream [email protected]:bitcoindevkit/BDWallet.git | |
git fetch --all | |
git reset --hard upstream/master | |
git checkout -b <wip_branch>_fix | |
git cherry-pick <revs in order from wip_branch> | |
git branch -D <wip_branch> | |
git gc --aggressive --prune |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment