K
K
Kiril2017-09-21 12:31:41
git
Kiril, 2017-09-21 12:31:41

How to exclude folders when checking out in Git?

In general, I have 2 folders: `config` and `bootstrap`. Is it possible to somehow specify with `git checkout` that everything except these two folders would be checked out?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2017-09-21
@v_decadence

git-init.ru/2013/post/sparse-checkout.html
https://git-scm.com/docs/git-read-tree#_sparse_checkout

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question