Something that you should learn about yo ming hsieh
Download
1 / 7

S ub v ersio n (SVN) - PowerPoint PPT Presentation


  • 116 Views
  • Uploaded on

Something that you should learn about … Yo -Ming Hsieh. S ub v ersio n (SVN). Outline. Introduction Easy as 1-2-3 Why Summary. Introduction. Version control is important if you work on multiple computers. if you work in a team. when you make mistakes.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' S ub v ersio n (SVN)' - cece


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Something that you should learn about yo ming hsieh

Something that you should learn about …

Yo-Ming Hsieh

Subversion (SVN)


Outline
Outline

  • Introduction

  • Easy as 1-2-3

  • Why

  • Summary


Introduction
Introduction

  • Version control is important

    • if you work on multiple computers.

    • if you work in a team.

    • when you make mistakes.

    • if you are going to survive in coming years.

  • SVN Repository

    • http://140.118.105.174/svn

    • Is where your storage of your files (codes, UML charts, documents, …) for your research work.

  • Nice GUI http://tortoisesvn.tigris.org/


Easy as 1 2 3 1 2
Easy as 1-2-3 (1/2)

  • Setup your own repository

    • Work in a folder on your own computer.

    • When you are ready, do a SVN IMPORT to import your work into SVN repository

  • Setup your local copy

    • Do a SVN CHECKOUT to an empty folder.

    • In the new folder, check its content. It should be identical to your original folder.

    • Now, delete your original folder.


Easy as 1 2 3 2 2
Easy as 1-2-3 (2/2)

  • When you work

    • Before you start working, always do a SVN UPDATE to see if there is any change.

    • After you finish work and you are happy, do a SVN COMMIT to save your work back to the repository.

    • You may need to use SVN ADD, SVN DEL, SVN COPY, SVN MOVE to manipulate files or folders in the repository.


Why?

  • Our SVN repository server is stable and has regular backup.

  • You can always go back to a certain revision if you want. (e.g. after you made stupid mistakes)

  • You can always compare files of different versions (revisions) to see the difference.

  • You can work on different computers without worrying which file needs to be copied, and which computer has the latest version of your code.

  • You can easily work on Windows & Linux to develop a cross-platform program.


Summary
Summary

  • Use SVN to store your work, both your code & your documents.

    • This is a living proof on how hard you work.

    • I can help you more on your coding.

  • Four simple actions

    • SVN IMPORT

    • SVN CHECKOUT

    • SVN UPDATE

    • SVN COMMIT


ad