Clone depth of 1, pull all branches #277
Closed
elliot-wasem
started this conversation in
Ideas
Replies: 1 comment
-
|
Sorry @elliot-wasem I didn't see this until today. Yes I think this would be feasible. Probably a flag like |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if it's feasible to clone at a depth of 1, and pull down all non-deleted branches from remote.
My reason is that I'm trying to get around gitlab's inability to search for files by name across all repos in my organization (short of self-hosting and using elasticsearch). So, I want to be able to clone down all repos (thank you
ghorg), and search.However, cloning all my org's repos takes forever. And therefore comes my desire for
--depth=1or similar.I am planning on using
git worktreeto connect branches, then usingfzfto actually do searches.Anyway, does this sound feasible as a
ghorgfeature? Or should I just implement that myself?Beta Was this translation helpful? Give feedback.
All reactions