techsjs2012
techsjs2012

Reputation: 1737

Working with Git, Svn and Eclipse Together

I am trying to find the right way to do this. My firm is using SVN as we are working on the projects to do checkin and checkouts. But I am thinking about using Git to backup all my work as I got home.. here is why

From Home I don't have access to my firms SVN Repo so I was thinking about setting up a Git Repo on the internet to checkin all my work into git before I leave work so I can access it from home.

I would like to hear if others are doing this and if you think this is a good practice.

How would I do this? I been using SVN and Eclipse for sometime now but I hear GIT would be better for cloning my workstation...

Upvotes: 1

Views: 1010

Answers (1)

bmargulies
bmargulies

Reputation: 100013

The solution to this for many people is 'git svn'. It allows you to create a local git repo as a clone of a tree in svn, work locally, and commit your work back to svn.

You can run git svn while at work, copy the resulting repo to a disk you carry home, and then commit back to svn when you get back to work. Always assuming, of course, that your employer's policies permit this. If you can't get to svn from home, perhaps they don't like anything about this idea.

Upvotes: 4

Related Questions