![]() ![]() Making a big change? You can make temporary changes in an isolated area, test and work out the kinks before “checking in” your changes. Sandboxing, or insurance against yourself.A VCS tags every change with the name of the person who made it. ![]() This makes it easy to see how a file is evolving over time, and why. As files are updated, you can leave messages explaining why the change happened (stored in the VCS, not the file). Jump back to the old version, and see what change was made that day. Suppose you made a change a year ago, and it had a bug. Throw away your changes and go back to the “last known good” version in the database. Monkeying with a file and messed it up? (That’s just like you, isn’t it?). Lets people share files and stay up-to-date with the latest version. Need that file as it was on Feb 23, 2007? No problem. Files are saved as they are edited, and you can jump to any moment in time. Large, fast-changing projects with many authors need a Version Control System (geekspeak for “file database”) to track changes and avoid general chaos. But software projects? Not a chance.ĭo you think the Windows source code sits in a shared folder like “Windows2007-Latest-UPDATED!!”, for anyone to edit? That every programmer just works in a different subfolder? No way. Our shared folder/naming system is fine for class projects or one-time papers. So Why Do We Need A Version Control System (VCS)? Hopefully they relabel the file after they save it. We may even use a shared folder so other people can see and edit files without sending them over email.If we’re clever, we add a version number or date: Document_V1.txt, DocumentMarch2015.txt. ![]() It’s a common problem, and solutions are usually like this: You want the new file without obliterating the old one. Got any files like this? (Not these exact ones I hope). You’ve probably cooked up your own version control system without realizing it had such a geeky name. Why do you care? So when you mess up you can easily get back to a previous working version. Version Control (aka Revision Control aka Source Control) lets you track your files over time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |