subversion tutorial

Post on 01-Jan-2016

54 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

DESCRIPTION

Subversion Tutorial. Presenter: Cheng-Yi Chien. 版本控制系統簡介. 版本控制系統是什麼? 管理對資訊所做人為變動 程式設計師的工具之一 為何要使用版本控制系統? 促成有效率的團隊合作 使變動歷程能被追溯. The Repository. Subversion is a centralized system for sharing information. - PowerPoint PPT Presentation

TRANSCRIPT

Subversion TutorialSubversion Tutorial

Presenter: Cheng-Yi Chien

版本控制系統簡介版本控制系統簡介

版本控制系統是什麼?管理對資訊所做人為變動程式設計師的工具之一

為何要使用版本控制系統?促成有效率的團隊合作使變動歷程能被追溯

The RepositoryThe Repository

Subversion is a centralized system for sharing information.

A repository is a central store of data in the form of a file system tree — a typical hierarchy of files and directories.

Problem of File-Sharing Problem of File-Sharing

Lock-Modify-Unlock Solution Lock-Modify-Unlock Solution

Copy-Modify-Merge Solution Copy-Modify-Merge Solution

SubversionSubversion

http://subversion.tigris.org/

http://svnbook.red-bean.com/

Subversion is the free/open-source version

control system Manages files and directories over time.

Remember every change even made to files and directories.

Allows to recover older version of the code or examine the history of how your data changed.

Collaborative editing and sharing of data (source code).

TerminologyTerminology

檔案庫 (Repository)物件變更紀錄維護貯放物件的關聯性集中式管理

工作副本 (Working Copy)檔案庫物件 ( 部份或全部 ) 在某個時間點的快照可修改,可復原

Repository的程式可分為主幹線 (Trunk)

開發者支線 (Branch)

維護者標記 (Tag)

標示點

SubversionSubversion

Subversion Repository

Subversionlibrary

Internet/Intranet(any TCP/IP Network)

Client interface

Command line

TortoiseSVN

Subversionserver

http://joolz.csie.ncku.edu.tw/svn/team_name

projectrepository

your project working copyProj

SPMSPMProj

RepositoryRepositoryAccess Mode

The SVN server of Lab. is constructed in Apache server

SVN Client : TortoiseSVNSVN Client : TortoiseSVNhttp://tortoisesvn.sourceforge.net/

TortoiseSVN is a free open-source client for the Subversion version control system.

Extension for the Windows Explorer.

Icons overlay shows all versioned / modified files.

All Subversion commands available from the explorer context menu.

available via a simple right click.

TortoiseSVN requires the administrative rights on your computer to be installed.

TortoiseSVN is a free open-source client for the Subversion version control system.

Extension for the Windows Explorer.

Icons overlay shows all versioned / modified files.

All Subversion commands available from the explorer context menu.

available via a simple right click.

TortoiseSVN requires the administrative rights on your computer to be installed.

Create a new folderCreate a new folder

Create a new folderCreate a new folder

TortoiseSVN: Checkout (1)TortoiseSVN: Checkout (1)URL of the repository: http://joolz.csie.ncku.edu.tw/svn/Student_Package

Right click in the Windows Explorer

TortoiseSVN: Checkout (2)TortoiseSVN: Checkout (2)

CommitCommit

TortoiseSVN: UpdateTortoiseSVN: Update

Case 1: your SPM files needed to be updated.

Case 2: your SPM files are up-to-date.

ExerciseExercise

安裝 SubversionTortoiseSVN

http://subversion.tigris.org/

下載實驗室重要資料Repository

http://joolz.csie.ncku.edu.tw/svn/Student_Package

上傳畢業光碟資料svn commit

Example (1)Example (1)

Example (2)Example (2)

top related