I am trying to clone multiple specific branches in a repository.
I know it is possible to clone one specific branch using --single-branch
, but what if I want 2 specific branches and no other branch?
I know I can use git config remote.origin.fetch
as shown here to change the regex of the "monitored" branches, but can I do this when I clone?