Internship eleventh day

SVN Profile


Subversion (SVN) is a version control system open source, which means that Subversion manages data changes over time. The data is placed in a central repository (repository) in. The archive is much like an ordinary file server, but it remembers every change in the file. So you can restore files to change the history of the old version, or browse files.


Some of the concepts SVN

  • repository (source code repository): the source code unified storage place
  • Checkout (extract): When you do not have the source code, you need to checkout from a repository
  • Commit (submission): When you have modified the code, you will need to Commit to the repository
  • Update (Update): When you have a Checkout the source code, Update what you can on the Repository and source code synchronization, your hand will have the latest code changes

Daily development process is actually this (assuming you've Checkout been working for a few days): Update (get the latest code) -> make its own changes and the successful commissioning -> Commit (you can see your changes a).

If two programmers to modify the same file at the same time it, SVN changes can be merged these two programmers, in fact SVN source code is managed in units, that two programmers if not modified the same line program, SVN will automatically combining two changes. If it is the same line, SVN will be prompted to file Conflict, conflict, you need to manually confirm.

 

Guess you like

Origin www.cnblogs.com/Py-king/p/11497067.html