2. . . . . . .
About
.. About 狠狠撸
專題程式開發簡報,陸續有其他介紹
感謝李春良老師專題指導,使得這一系列簡報得己誕生
感謝 Josh Ko 在簡報排版上的指導與協助
yen3 (長庚大學資訊工程學系) 淺談 Source Control Management 2 / 23
3. . . . . . .
About
.. About Author
Computer Science Student
Blog: No title, no thinking, no meaning
E-mail: yen3rc 在 gmail 答康
隨手書寫生活
C, C++, Java, Haskell, LATEX
yen3 (長庚大學資訊工程學系) 淺談 Source Control Management 3 / 23
4. . . . . . .
Outline
.
..1 About
.
..2 Introduction
What?
Why?
.
..3 Source Control Management
Environment
Concept
branch
Software
.
..4 Software
git
Google Code with svn
Visual Studio.net With svn
.
..5 Conclusion
Conclusion
Reference
yen3 (長庚大學資訊工程學系) 淺談 Source Control Management 4 / 23
5. . . . . . .
Introduction What?
.. What is Source Control Management?
Source Control Management(SCM) 為 Open Source
界常見的專案開發工具.
針對 plain text ,比較與先前的檔案差異,
儲存修改之處。
若是架在 Server 上,支援多人上傳協同開發。
常見軟體有 svn, git, ...等等。
在常見的 Software IDE(Eclipse, NetBeans, vim XD, VS.net) 皆有
plug-in 支援
Visual Studio.net Team Suite 內建版本控制(不建議)
yen3 (長庚大學資訊工程學系) 淺談 Source Control Management 5 / 23
6. . . . . . .
Introduction Why?
.. Why do we need Source Control Management?
當寫程式需要備份時· · ·
當需要協同專案開發時· · ·
寫文件需要比較前後版本時· · ·
當需要寫情書時(大誤)· · ·
yen3 (長庚大學資訊工程學系) 淺談 Source Control Management 6 / 23
7. . . . . . .
Introduction Why?
.. How about Binary File?
硬碟夠大的話· · ·
Word(.doc) → binary ?le ( 考慮 LATEX系列 XD?)
程式碼 → plain text (LATEX檔也是 plain text 喔 XD)
寫情書的話 → 記事本 + 版本管理 XD
yen3 (長庚大學資訊工程學系) 淺談 Source Control Management 7 / 23
8. . . . . . .
Source Control Management Environment
.. Environment
Client-Server Architecture(client and server can be in the same
computer.)
Main Concept: di?, line-by-line comparing
It would add something ?le with SCM in your ?le of managing.
For project development, you could need a server(with ip) to upload
your ?le.
For personal development, you could use only one computer to ?nish
anything what you want.
yen3 (長庚大學資訊工程學系) 淺談 Source Control Management 8 / 23