Replies: 2 comments
-
No, and no. You'll need to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
In case someone else arrives here, and until #5323 is completed: [aliases]
fbt = ["git", "fetch", "-b", "glob:BUILD/myuser/*", "-b", "TEAM/myteam-*"] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, jj newbie here :)
In git I can limit the default
git fetch --all
to specific refs using a configuration likejj
seems to ignore this when Ijj git init --colocate
in a repo with a similar configuration or when.jj/repo/store/git/config
is modified directly with similar specific refspecs.The main issue this is supposed to solve is that I'm working on a huge monorepo where I only care about a relatively small set of branches, and this makes the experience much nicer.
It's not up to me to break it up, but I'm open to suggestions if there are better ways to deal with this situation.
Bonus question: is there an equivalent of git fetching an arbitrary commit by hash?
I know there's
jj git fetch --branch
, but it doesn't accept an arbitrary commit hash nor multiple branches.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions