quran-api icon indicating copy to clipboard operation
quran-api copied to clipboard

git-sparse checkout gives me error

Open balushyno1 opened this issue 2 years ago • 1 comments

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

balushyno1 avatar Apr 04 '23 15:04 balushyno1

You will have to use git sparse-checkout reapply --no-cone before git sparse-checkout add command.

fawazahmed0 avatar Apr 04 '23 18:04 fawazahmed0