1 / 11

Version Control

Discover the benefits of version control, including risk reduction, facilitating group projects, enabling experimentation, and acting as a personal time machine. Learn about popular VCS choices, terminology, and how to use version control for your projects. Also, explore free hosting resources for your repositories.

Download Presentation

Version Control

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Reducing risk with version control Version Control Jon Austin jon@jonhappens.com

  2. Why Version Control? • Reduce Risk • Facilitate Group Projects • Allows Experimentation • Personal Time Machine

  3. Risk Reduction • Distributed Code Base • Central Repository • Feature Retrieval • Do not forget to perform scheduled backups of your repository!

  4. Group Projects • Every gets a “current” copy of the full source • Can assist in code review • Don't Always have to wait on others • Merging - Not as bad as it sounds. • Conflicts - Can be as bad as it sounds. • Blame – As fun as it sounds! • Commit Often... But... • NEVER commit broken code to the trunk.

  5. Allows Experimentation • Peace of mind • I know my code is safe, what if I change x? • Branching • Try out new features without polluting trunk • Play in a sandbox

  6. Personal Time Machine • Remember when...? • Whoops, I deleted X! • Who changed that? Ask the log! • Why did I change that? Ask the log!

  7. VCS Choices • SubVersion • Stable and widely used • Reasonably straightforward • Cross Platform • Git • Local change tracking • Many more

  8. Usage • Create your Repository • Place your project in it • Add your project (Registers it with SVN) • Ignore (bin folder, class files, private settings) • Commit (Writes your changes to SVN) • Check for Modifications (See what changed) • Update (Pull the latest changes)

  9. Terminology • Working Copy • Trunk • Tag • Branch & Switch • Revert • Patch • Diff/Compare

  10. Have a Process • Make your changes • Update your working copy • Resolve any conflicts • Recompile and re-test! • Commit your changes

  11. Free Hosting Resources • Rioux SVN - https://riouxsvn.com • Free Private • Assembla - https://www.assembla.com • Free Private • Version Shelf - https://www.versionshelf.com • Free Student/Teacher accounts

More Related