Cloning the repository
git clone --filter=blob:none --sparse https://github.com/dannycreations/aniyomi-extensions
cd aniyomi-extensions
git sparse-checkout set --cone --sparse-index
git sparse-checkout add buildSrc core gradle lib
git sparse-checkout add src/id/oploverz
git sparse-checkout add src/id/samehadaku
git remote add upstream https://github.com/aniyomiorg/aniyomi-extensions
git remote set-url --push upstream no_pushing
git config remote.upstream.fetch "+refs/heads/master:refs/remotes/upstream/master"
git remote update
git branch master -u upstream/master
git config remote.origin.prune true
git config pull.ff only
git config alias.sync-master '!git switch master && git fetch upstream && git reset --keep FETCH_HEAD'
git sparse-checkout reapply
Running