I'm new to git and I'm trying to understand if it can solve my problem.
A project has a public read-only svn repo. I want to make and track my own changes to its source over time. While still fetching changes from the svn repo. Of course I can do this easily with git-svn
. I just never performing a dcommit
.
The added issue is that I work from multiple locations. Thus I use a remote repo to sync files between these locations. This is also another thing I can do easily with git, using a remote git repo.
But put them together and I have:
- fetch from remote svn
- commit to local git
- pull/push to remote git.
Is this a reasonable workflow with git? When, over time, my own changes/commits will be interlaced with updates from the svn repo. If so, how should I set it up.
Meaning, Should I have each working location have its local git fetch from the remote svn directly, in a fully decentralized fashion. Or should I go out of my way to have the single remote git repo do the svn fetch itself. To make it easier on the various local gits to coordinate the changes from svn, i.e. make them look like their just changes from the remote git repo.
I can run git-svn
only on the remote git repo host if I need to.