Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-sparse checkout gives me error #46

Open
balushyno1 opened this issue Apr 4, 2023 · 1 comment
Open

git-sparse checkout gives me error #46

balushyno1 opened this issue Apr 4, 2023 · 1 comment

Comments

@balushyno1
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants