Version Control System Lisa Palathingal 03/04/2015
What is Version Control? Records changes to file(s) over time. Centralized Version Control: have a single server that keeps all the changes to files. Examples: CVS, Subversion. Disadvantage: Single point of failure. Distributed Version Control: Clients can clone the entire repository. Examples: Git, Mercurial.
Centralized VCS
What is Version Control? Records changes to file(s) over time. Centralized Version Control: have a single server that keeps all the changes to files. Examples: CVS, Subversion. Disadvantage: Single point of failure. Distributed Version Control: Clients can clone the entire repository. Examples: Git, Mercurial.
Distributed VCS
Git Free, open source, distributed VCS. developed by Junio Hamano and Linus Torvalds. Runs on OS X, Windows, Linux, UNIX.
Advantages of Git Free and open source Staging area Branching and Merging are easy Distributed -local -work offline -no single point of failure -fast
States of Git
Individual Workflow
Collaborative Workflow
Git Command line tool Basic Commands: - git init-git push - git status- git pull - git add- git branch - git commit-git checkout
git init
git status
git add
git commit
git push
Git Command line tool Basic Commands: - git init-git push - git status- git pull - git add- git branch -git commit-git checkout
Git Tutorial Websites
Questions?