Version Control Systems
Contents
-
Version Control Systems
-
1 Version Control Systems:
- 1.1 Module Objectives
- 1.2 Getting Started
- 1.3 Sharing and Collaborating (30 mins)
- 1.4 Workflow (10 mins)
- 1.5 Other commands and buffer time (10 mins)
-
1.6 Suggested Reading:
- 1.6.1 "[[http://mercurial.selenic.com/wiki/Tutorial|http://mercurial.selenic.com/wiki/Tutorial"]]
- 1.6.2 http://mercurial.selenic.com/guide/
- 1.6.3 http://hgbook.red-bean.com/
- 1.6.4 http://karlagius.com/2009/01/09/version-control-for-the-masses/
- 1.6.5 Articles related to version control available on http://betterexplained.com/
- 1.6.6 http://en.wikipedia.org/wiki/Revision_control
- 1.6.7 http://wiki.alliedmods.net/Mercurial_Tutorial
-
1 Version Control Systems:
1 Version Control Systems:
Layout for teaching material. This is for theory session.
1.1 Module Objectives
After successfully completing this module a participant will be able to:
Understand use of Version Control tools |
U |
Create and use repository for daily use of assignments/projects |
Ap |
Browse exsiting repo, make changes and commit back |
Ap |
Work collaboratively with a team on live project |
Ap |
1.2 Getting Started
1.2.1 Introduction (10 mins)
- What is this all about?
- Need of version control, Use cases.
- Working mechanisms(DVCS, CVSC)
- Options available
1.2.2 Lingo/Jargon (10 mins)
- Related to setup and directory structures
- Actions
1.2.3 Installation (5 mins)
We will be going with hg(why?)
- Linux machines
- Windows
- Checking with installations and help options
- hg –version
- hg help
- hg help clone
1.2.4 Getting a repository (10 mins)
- Creating new repo
- Creating clones of local repos(backup, sandbox)
- Cloning already existing repo from Internet.
1.2.5 Histories (5 mins)
- Reading logs
- hg log
- hg log -r #
- hg tip
- Changesets
- message
- username
1.2.6 Basic house keeping commands (5 mins)
- status
- Add
- rename
- cp
- remove et all.
1.2.7 Writing new history ;) (10 mins)
- Committing changes
- Configuration files
- hgrc file and environment variables
- handling(changing) default editor for commit command
1.2.8 5 mins buffer time
end of first theory class
1.2.9 Syncing changes (10 mins)
- push
- pull
- up
1.3 Sharing and Collaborating (30 mins)
1.3.1 merge
- Introduction to merging scenarios
1.3.2 conflicts
- manual merge
1.3.3 branching
- Syncing between various copies/local branches
- Tags
1.4 Workflow (10 mins)
1.4.1 commit early commit often
1.4.2 Flowchart of various operations and state of repo
1.5 Other commands and buffer time (10 mins)
1.6 Suggested Reading:
1.6.1 "[[http://mercurial.selenic.com/wiki/Tutorial|http://mercurial.selenic.com/wiki/Tutorial"]]
1.6.2 http://mercurial.selenic.com/guide/
1.6.3 http://hgbook.red-bean.com/
1.6.4 http://karlagius.com/2009/01/09/version-control-for-the-masses/
1.6.5 Articles related to version control available on http://betterexplained.com/
1.6.6 http://en.wikipedia.org/wiki/Revision_control
1.6.7 http://wiki.alliedmods.net/Mercurial_Tutorial
Author: shantanu <baali@shantanu>
Date: 2010-05-26 16:57:36 IST
HTML generated by org-mode 6.30c in emacs 23