I have a well functioning code but I have to change a lot of things on it to make it more efficient, my question is, Is there a way to save your code (without creating any new projects) in case I screw things up? Like a time machine on MacOS
-
4Look up version control (git or svn are the most widely used).– Jeroen VannevelOct 27, 2013 at 18:04
-
1Source Control? and I don't think this is the right place for this question.– SamOct 27, 2013 at 18:04
-
1Try using team foundation service ( tfs.visualstudio.com). It's simple.– dvjanmOct 27, 2013 at 19:15
2 Answers
You need a version control system . It's "like time machine" for code and even better: it provides history, allows you to see differencies between arbitrary versions of your code, go back and forth along the versions and lot more. All the professional developers use Version Control Systems.
Good examples of VCS are Git, SVN, Mercurial. I suggest, that you learn git (mostly adopted now):
If you're a .NET developer with an MSDN subscription, take a look at Team Foundation Server. Otherwise, Git or SVN are your go-tos. We run SVN with TortoiseSVN on the client side, and it's been great so far (and free!).