Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hello,
I am using Visual Studio 2013 and I have a laptop and a desktop pc which I develop my applications. When I'm home, I usually use my desktop pc and when I'm outside, I use my laptop. It is really annoying to copy project files everytime I change them and sometimes I confuse these copies.

All I want to do is to synchronize my projects through a cloud service, and to access a file history in order to prevent file corrupts (I experienced this several times) and messing up with the whole project. I tried Visual Studio Team Foundation Server, Visual Studio Online and Github, but they're all too confusing. Uploading to Github is easy, but I couldn't figure out how to make my projects "private". I guess I have to pay for it. Otherwise, it's open-sourced -which I don't want it to.

Please help me find how to synchronize my projects between my computers and to access a file history. I prefer Microsoft and Github especially.

Thanks in advance..
Posted
Updated 28-Mar-15 13:07pm
v2

1 solution

Copying project files and being annoyed with that is more or less obvious indication of one more disturbing fact: you are not using any Revision Control system. If you don't you don't really do software development: you code asserts don't really belong to you, but to any random sleep of a hand or hardware failure.

I would suggest you stop doing all you doing, learn the topic and get yourself one. It could be open-source, very light-weight and very, very reliable. And if you mostly work along, I would suggest more flexible distributed revision control, such as git, Mercurial or Bazaar. You can work with both centralized repository or just by copying files from one file storage to another using the tool.

Please see:
http://en.wikipedia.org/wiki/Distributed_revision_control,
http://en.wikipedia.org/wiki/Revision_control.

See also my past answer, but not just it, but all the discussion: Revision control systems, which to choose from?.

—SA
 
Share this answer
 
Comments
MuhsinFatih 28-Mar-15 20:35pm    
Thanks for your advice. I read your past answer, and I absolutely think the same about open source solutions. They are far more reliable. But the problem is that in order to use open source revision control programs, if I'm not mistaken, I need to have my own server (or rental, whatever). I do have one but it's too slow and I really don't trust the company that I rented my server machine (it was not my fault, I would have chosen Azure if the choice were mine.. and my budget does not allow me to rent one right now). That's why I said I prefer Microsoft products or Github.
You also suggested Git, but most of my files I don't want to share to public, and Git asks me to pay in order to store my projects privately. If you have any suggestions about it, please let me know.

Regards
Sergey Alexandrovich Kryukov 28-Mar-15 21:07pm    
That's why I mentioned the distributed. With this kind, you don't need a server.

This is the whole point. Also, it's possible to combine centralized server use with the distributed repository.
Also, you did not correctly understand git. Don't mix git and gitHub or other services. You can use git on your own, without a server.

Please read on the topic. In your situation, you just should not miss this opportunity.

Will you accept my answer formally?

—SA
MuhsinFatih 28-Mar-15 21:10pm    
Thanks!
Sergey Alexandrovich Kryukov 28-Mar-15 21:22pm    
You are very welcome.
Good luck, call again.
—SA
MuhsinFatih 28-Mar-15 21:15pm    
Wait, are you the one who voted my question with 1? I really don't mind but if so, why? I just wonder...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900