This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-30
Channels
- # announcements (12)
- # babashka (25)
- # biff (30)
- # cherry (34)
- # cider (46)
- # clj-kondo (23)
- # clojure (37)
- # clojure-berlin (6)
- # clojure-europe (12)
- # clojure-nl (4)
- # clojure-norway (6)
- # clojure-uk (2)
- # clojurescript (8)
- # conjure (1)
- # cursive (4)
- # data-science (11)
- # datalevin (12)
- # datascript (15)
- # emacs (2)
- # events (1)
- # fulcro (14)
- # graalvm (16)
- # gratitude (23)
- # honeysql (11)
- # jobs (2)
- # jobs-discuss (14)
- # kaocha (1)
- # leiningen (8)
- # nbb (45)
- # off-topic (7)
- # portal (8)
- # re-frame (9)
- # releases (2)
- # shadow-cljs (24)
- # squint (5)
- # tools-build (17)
- # tools-deps (7)
- # vim (5)
can you tell deps to use a different git commit of a local git repo/project then the one the project is currently set to?
if you're using it as :local/root
then no
if you're using it as a git dep, then you can pick any commit you like
recent versions of the CLI do also support using local file-based git urls
👍 1
for example, something like this works:
{:deps
{foo/bar {:git/url "../../code/tools.deps.alpha/"
:git/sha "b2096587b8c9ead9f47daa6258d3a4fddb18ebde"}}}
even if the local path is at some newer shaawesome! i should have looked closer at the docs. I'm considering that it might be worth cloneing more projects so it's easier to work with them.
it will "check out" that file based project into the gitlibs and create a working tree at the requested sha
👍 1