<
From version < 26.1 >
edited by msp
on 2012/10/15 14:53
To version < 25.1 >
edited by msp
on 2012/10/15 14:48
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -15,6 +15,23 @@
15 15  $ git init
16 16  Initialized empty Git repository in ~/turing/.git/
17 17  {{/noformat}}
18 +
19 +{{panel}}
20 +**$ mkdir turing**{{code language="none"}}{{/code}}
21 +
22 +**$ cd turing**{{code language="none"}}{{/code}}
23 +
24 +**$ git init**{{code language="none"}}{{/code}}
25 +
26 +{{code language="none"}}Initialized empty Git repository in ~/turing/.git/{{/code}}
27 +{{/panel}}
28 +
29 +{{code language="bash"}}
30 +$ mkdir turing
31 +$ cd turing
32 +$ git init
33 +Initialized empty Git repository in ~/turing/.git/
34 +{{/code}}
18 18  )))
19 19  1. (((
20 20  Add some content: copy [[attach:notes.txt]]{{code language="none"}}{{/code}} to your {{code language="none"}}turing{{/code}} directory.
... ... @@ -41,7 +41,7 @@
41 41  {{/noformat}}
42 42  )))
43 43  
44 -After the preceding steps you have two commits in your local repository, each with one file in the index. You have different commands for viewing these commits:
61 +After the preceding steps you have two commits in your local repository, each with one file in the index. You have different options for viewing these commits:
45 45  
46 46  {{noformat}}
47 47  $ git log
... ... @@ -77,4 +77,4 @@
77 77  + * The head is controlled by a finite state machine
78 78  {{/noformat}}
79 79  
80 -Note that each commit is identified by a looong hash value, but it is possible to use only a prefix when referencing them (if the prefix is not ambiguous): the example above uses {{code language="none"}}3f28a0e{{/code}} to identify the second commit. Also try the command {{code language="none"}}gitk{{/code}} to get an overview of your commits (a better alternative available for MacOS is [[GitX>>url:http://gitx.frim.nl/||shape="rect"]]).
97 +Note that each commit is identified by a looong hash value, but it is possible to use only a prefix when referencing them (if the prefix is not ambiguous): the example above uses {{code language="none"}}3f28a0e{{/code}} to identify the second commit.
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -2982120
1 +2982118
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/WS12EclPract/pages/2982120/Git
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/WS12EclPract/pages/2982118/Git