Reputation: 2326
I'm working on a C# app that uses SQL 2008 express. Sometimes I work at home and the most of the time at my office so there is no way to work in the same network. Everytime I change location, I need to save the project in my USB and update files in my home/office computer, so I find this a little bit frustrating.
Do you know a version control software which could let me do this without using my USB? something like SVN where I could only update my repository to have the most recent version? What about changes in the database? is there a way to keep this updated?
Upvotes: 1
Views: 960
Reputation: 1391
You could combine dropbox with SVN. Create your SVN repository at whichever location you work at more, then check the code out to your dropbox folder. You can then work from both work and home without having to carry your files with you, and you can keep your code in source control.
You won't be able to commit or get latest from your off-location, but that shouldn't be a problem given that dropbox is going to automatically back-up your files for you. Just make sure to do your commit first thing when you get to your main location.
Upvotes: 1
Reputation: 26717
The version control just keep track of the changes in your repository(I would suggest you GitHub anyway) .For the DataBase if you script your database then you can put the script files into your repository and push them to the source control(you didn't say much about your DataBase strategy)
Upvotes: 1
Reputation: 6526
You may wish to host your own gitolite - at work or via dyndns at home - and have your develop branch on that one. Maybe you already have a Team Foundation Server at work already, then you could use that one.
Upvotes: 0
Reputation: 33242
The scenario you describe is well covered by Mercurial or Git. You can use some online repository to store your work, like GitHub or BitBucket. In any case you should create some strategy for of automatic deployment of the DB.
Upvotes: 7
Reputation: 4032
There is plenty of free SVN hosting (google code for instance) if you don't care that it's open source. There are plenty of SVN clients that integrate right into visual studio (One that I use and suggest would be AnkhSVN). If you DB is on the local computer you're developing, you won't be much luck--but consider moving to a remote location.
Upvotes: 2
Reputation: 11989
Some sort of publicly hosted source control like Github or Bitbucket may work, but honestly for things that I'm just hacking on in a few differnet places, I just use DropBox. Store your working copy of hte project in a DropBox folder, and when you get home it's automagically synced.
Upvotes: 0