git-sparse checkout gives me error
balushyno1 opened this issue · 1 comments
balushyno1 commented
following method 1
git clone --filter=blob:none --no-checkout --depth 1 --sparse https://github.com/fawazahmed0/quran-api.git
cd quran-api
git sparse-checkout add database/linebyline/* database/chapterverse/* fonts/*
git checkout
but whenever i run this command git sparse-checkout add database/linebyline/* database/chapterverse/* fonts/*
i get this error
fatal: specify directories rather than patterns. If your directory really has any of '*?[]' in it, pass --skip-checks
fawazahmed0 commented
You will have to use git sparse-checkout reapply --no-cone
before git sparse-checkout add
command.