1

I want to bundle a Git repo which is hosted on Azure DevOps. I know from this question (How to git bundle a complete repo) how to do this but all examples I've seen start with making a local clone first.

I'm wondering if I can avoid this step and create a full bundle in a single step, directly from the online repository? If so, how?

Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
  • 1
    Git works with local repositories. The very limited set of subcommands that work with remote repos is: `archive`, `ls-remote`, `clone`, `fetch`, `pull`, `push`, `remote`, that's all. If you have SSH access to the remote host you can run `git bundle` over SSH. – phd Feb 02 '22 at 16:54
  • @phd seems a reasonable answer. The perfectionist in me feels that's messy - what if my local repo gets changed - but if that's how it works, then that's the answer :) – Mr. Boy Feb 02 '22 at 16:58

0 Answers0