Fork me on GitHub

I have a deps.edn project/repo that I’d like to also keep example projects, but ideally those wouldn’t get pulled when another deps.edn project depends on mine e.g. via git. Would tools.deps pull those “extra” files from my repo, and the README and everything? Should I stop worrying about a few kilobytes?


@taylor If someone depends on your project via git deps, the whole repo will be checked out (regardless of which parts are actually used).

thumbsup_all 4

If you publish an artifact (on Clojars or wherever) then you can choose what goes into that.


you get a bare clone of the repository + one or more checkouts corresponding to whatever commits are used, right? at least, that's how it looks under ~/.gitlibs/