1

I am developing a small project in git: it is actually a single XML file plus a couple of scripts for testing purposes. I need to submit that XML file to a third party who keeps a several such XML files (no scripts) in an SVN repo.

Is it possible (and how) to setup git-svn so that I could push new revisions of that single XML file to the SVN repo, but discarding the script files I have in git? I sill want to have the scripts version-controlled in git.

Wooble
  • 87,717
  • 12
  • 108
  • 131
Michał
  • 2,755
  • 1
  • 17
  • 20

1 Answers1

0

Discarding your script files is simple - just define them in .git/info/exlcude. More usual .gitignore will probably not be good for you as you don't want it to land on the SVN.

Mykola Gurov
  • 8,517
  • 4
  • 29
  • 27