0

I'm cloning just the files of a Git repo (so without history or the .git folder) using svn export https://github.com/user/repo/trunk as per this wonderful answer. Sadly, Git archive is disabled on GitHub, which is why I didn't use that.

However, svn archive prints every single file in the repo out when it does this, which is rather annoying given that my repo isn't small. How can I make svn export only print something if there is a problem, as opposed to for every file in the repo?

cocomac
  • 518
  • 3
  • 9
  • 21

1 Answers1

1

Turns out there is a --quiet argument. For example this won't print anything.

$ svn export --quiet https://github.com/user/repo/trunk

If anyone is wondering, I figured this out my doing:

$ svn help

I didn't read that at first because I mostly use Git, and the manpage seemed to be unhelpful, which is where I'd usually look..

cocomac
  • 518
  • 3
  • 9
  • 21
  • You need to check `svn help` and SVNBook at https://svnbook.red-bean.com/nightly/en/index.html – bahrep Jan 21 '22 at 12:32