Presentation is loading. Please wait.

Presentation is loading. Please wait.

.git git-scm.com free and open source distributed version control system p.s. for beginners…

Similar presentations


Presentation on theme: ".git git-scm.com free and open source distributed version control system p.s. for beginners…"— Presentation transcript:

1 .git git-scm.com free and open source distributed version control system p.s. for beginners…

2 -Yes. Download, modify and contribute!
free? open source? -Yes, totally! -Yes. Download, modify and contribute!

3 distributed? version control?
let's look inside!

4 everybody loves trees

5 file systems?

6 start a project A

7 modify the project changeset A

8 version control? A

9 is anybody confused? A

10 monday A versionA

11 tuesday changeset versionA versionB

12 … meta information timeline A versionA Monday 12pm
Very important message A Jonik Karapetyan versionB Tuesday 12pm Very important message B Jonik Karapetyan versionN Just before leaving the office I’m tired!!! No messages anymore… Jonik Karapetyan meta information

13 we are growing!

14 centralized? Dropbox CVS, Subversion, and Perforce something like
with version control CVS, Subversion, and Perforce

15 two trees structure!

16 working copy & repository

17 commit & checkout commit checkout

18 internet has gone No has access to any version except working copy

19 tree trees structure! .git mercurial bazaar darcs is Dropbox
getting smarter?

20 staging area | staging index
working copy stating area

21 distributed? repo working copy stating area * nearly every
operation is local stating area

22 who cares? * nearly every operation is local

23 stage, commit, checkout stage commit checkout

24 and couple of advantages!
history who, when, why? and couple of advantages!

25 lets see logs for first commit
commit: first author:  Linus Torvalds date: early 2005 for: Linux kernel maintenance because: BitKeeper became non free *also: Linus was a genius)))

26 advantages speed simple design
strong support for non-linear development  (thousands of parallel branches) fully distributed able to handle large projects like the Linux kernel efficiently (speed and data size)

27 any other advantages?

28 install, configure, check, and get some help
setup install, configure, check, and get some help

29 installing on Linux yum $ sudo yum install git-all aptitude
$ sudo apt-get install git-all Mac Windows

30 configuring your identity $ git config --global user.name “IP Club“
$ git config --global user. editor $ git config --global core.editor emacs $ git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' - multiInst -nosession“ $ git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -nosession"

31 checking your configurations
git config –-list user.name=IP Club git config user.name IP Club

32 get some help git help <verb> git <verb> --help
man git-<verb>

33 any questions?

34 any conclusions?

35 Thank You


Download ppt ".git git-scm.com free and open source distributed version control system p.s. for beginners…"

Similar presentations


Ads by Google