repository - Working offline with SVN on local machine temporary -
i working on project on svn. not have access internet few days, , working on project.
is there way make clone of repository on local machine, commit changes it, , when gain access internet "push" them onto shared repository? thinking in terms of mercurial here, worth migrating completely?!
your problem sounds me the use case git-svn
:
- set git repo:
git svn clone http://svn.example.com/project/trunk
- while being online, commit changes svn
- before going offline,
git svn rebase
git repo in sync svn repo - while being offline, commit git repo using
git commit
- when getting online again,
git svn dcommit
push changes svn repo
i'm using workflow daily!
you 2 huge advantages doing so:
- your complete svn history backed in git repo , in every git repo gets cloned one
- while being offline, can view commit messages, checkout other branches, etc.
Comments
Post a Comment