Presentation is loading. Please wait.

Presentation is loading. Please wait.

Version Control System Lisa Palathingal 03/04/2015.

Similar presentations


Presentation on theme: "Version Control System Lisa Palathingal 03/04/2015."— Presentation transcript:

1 Version Control System Lisa Palathingal 03/04/2015

2 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.

3 Centralized VCS

4 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.

5 Distributed VCS

6 Git  Free, open source, distributed VCS.  developed by Junio Hamano and Linus Torvalds.  Runs on OS X, Windows, Linux, UNIX.

7 Advantages of Git  Free and open source  Staging area  Branching and Merging are easy  Distributed -local -work offline -no single point of failure -fast

8 States of Git

9 Individual Workflow

10 Collaborative Workflow

11 Git  Command line tool  Basic Commands: - git init-git push - git status- git pull - git add- git branch - git commit-git checkout

12 git init

13 git status

14 git add

15 git commit

16 git push

17 Git  Command line tool  Basic Commands: - git init-git push - git status- git pull - git add- git branch -git commit-git checkout http://www.git-scm.com/

18 Git Tutorial Websites http://rogerdudler.github.io/git-guide/ http://readwrite.com/2013/10/02/github-for-beginners-part-2 http://www.git-scm.com/ https://try.github.io/levels/1/challenges/1

19 Questions?


Download ppt "Version Control System Lisa Palathingal 03/04/2015."

Similar presentations


Ads by Google