An Introduction to SCM GForge.ppt


文档分类:IT计算机 | 页数:约32页 举报非法文档有奖
1/32
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/32
文档列表 文档介绍
An Introduction to SCM & e
Lin Guo
******@
1
Roadmap
What is SCM
Why do we need SCM
Interesting SCM features
SCM tools
e
Conclusion
2
What is SCM
Source Control Management
Maintain a repository of source files
Track all changes
Control changes
Software Configuration Management
More than source control
Manage source repositories
3
Why we need SCM
Source Control
Sharing: supports concurrent development
Versioning: provide version number and dates
Change tracking: find details of a change
Archival: reproduce any file from any point
Documentation, drawing, etc.
Configuration Management
Branch: release version vs. develop version
Snapshot of the whole system
Prohibit further check-in before release
4
Roadmap
What is SCM
Why do we need SCM
Interesting SCM features
Source control vocabulary
Code Sharing
Branch
Label
SCM tools
e
Conclusion
5
Source Control Vocabulary
Update: obtain the latest versions of the code
Check-out: obtain the writable version of files
Check-in: commit the changes to files
Lock/unlock: one only person may modify a file
Integrate: combines the changes with others’
Add/delete: add/remove files to repositories
Top-of-trunk: most updated
6
Roadmap
What is SCM
Why do we need SCM
Interesting SCM features
Source control vocabulary
Code Sharing
Lock
Sharing
SCM tools
e
Conclusion
7
Code Sharing
Multiple people can work on the same source base without colliding ---
(1) Lock: locks individual files so only one person at a time can modify it or
(2) Merge: Allows multiple people to modify a source file and the system will automatically merge the changes (usually)
8
Locking
Only one person can modify certain source files.
Works fairly well if developers work on different areas of the project and don’t conflict often
Problem 1: People forget to unlock files when they are done
Problem 2: People work around locking by editing a private copy and checking in when the file is finally unlocked - easy to lose changes.
9
Me

An Introduction to SCM GForge 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数32
  • 收藏数0 收藏
  • 顶次数0
  • 上传人新起点
  • 文件大小1.38 MB
  • 时间2018-10-13