Sharing code between computers

Jul 1, 2015 at 5:18am
I am currently a computer science student on my way into my second year. I was wondering whether anyone has any suggestions for sharing code between multiple computers? I mostly use visual studio on my windows desktop but it would be nice to be able to code on my macbook pro as well without going through a painful process of sending myself projects and such. Any suggestions? I should probably know this by now so sorry if it is a dumb question.
Jul 1, 2015 at 7:11am
Saving directly to cloud storage such as oneDrive or dropbox?
Jul 1, 2015 at 8:02am
Use a version control such as git:

https://git-scm.com/
Jul 1, 2015 at 10:15am
You could even set yourself up an account on Github (or similar)

https://github.com/

Andy
Jul 1, 2015 at 5:41pm
SVN and Git are pretty popular solutions for source control.
Jul 1, 2015 at 6:32pm
Thanks for the suggestions. I will look into those!
Jul 1, 2015 at 6:53pm
+1 GitHub.
Jul 1, 2015 at 7:25pm
I too would recommend GitHub, though private repositories aren't free. If you'd prefer some privacy, and won't be collaborating with many people on your code, Bitbucket may be a better alternative.

https://bitbucket.org/

-Albatross
Jul 1, 2015 at 8:14pm
Another alternative is to host a private Git repository from your desktop. Running the server inside a Linux VM is cleaner and should take around 256 MiB, but you can also put the SSH server directly on Windows. The only problem is that the desktop needs to be running when you want to access the repository, but this shouldn't be a problem if it's already running constantly.
Jul 2, 2015 at 6:01pm
I think GitHub gives you one free private repo?
Jul 2, 2015 at 6:13pm
@ResidentBiscuit
Only with a paid account, though students can get it free for a year or two through their student pack.
Jul 3, 2015 at 1:50pm
I use bitbucket, they are phenomenal.
Jul 3, 2015 at 2:04pm
Even if you use a private repository for most of your work, it would make sense to set up a bitbucket/GitHub/... account so you have an online portfolio you can point prospective employers at. It does appear that this kind of thing is becoming more and more expected...

Andy
Topic archived. No new replies allowed.