Is there an easy way to push git changes to a Subversion repository with more than one address?

We are starting to use git, and liking it, but have an existing Subversion respository.

Is it possible to push changes to svn from git where the url to svn is one of several values? (The url from inside the company is different from outside.)

  • Append a string conditionally to commit-msg using hooks
  • Get time of last commit for Git repository files via Python?
  • Access different Gitlab servers from one machine
  • Git - show remote name of remote branch
  • .gitignore exception is including extra files
  • does git amend require a git push -f?
  • It would be the same repository but being accessed via different urls.

  • How can I save a git “rebase in progress”?
  • Where do custom git merge drivers get stored?
  • In-place editing, version control - what's your solution?
  • Git workflow to distribute changes to several branches
  • git revert deleted files in master, keep feature working files intact
  • Howto add a changed file to an older (not last) commit in Git
  • One Solution collect form web for “Is there an easy way to push git changes to a Subversion repository with more than one address?”

    You can use git with svn with git-svn which lets you commit and rebase your local git repo with a svn repository.

    Regarding the svn repo identified by two different urls, as you said is the same repository, so I would suggest you to create an “network alias” in your OS, so the url is always the same for git, and you can make it point to one or other url based on your connection (inside or outside the company network).
    In *unix you can do that by editing the /etc/hosts file.

    Git Baby is a git and github fan, let's start git clone.