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

Summary

Details

Page properties
Content
... ... @@ -15,23 +15,6 @@
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}}
35 35  )))
36 36  1. (((
37 37  Add some content: copy [[attach:notes.txt]]{{code language="none"}}{{/code}} to your {{code language="none"}}turing{{/code}} directory.
... ... @@ -58,7 +58,7 @@
58 58  {{/noformat}}
59 59  )))
60 60  
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:
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:
62 62  
63 63  {{noformat}}
64 64  $ git log
... ... @@ -94,4 +94,4 @@
94 94  + * The head is controlled by a finite state machine
95 95  {{/noformat}}
96 96  
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.
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"]]).
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -2982118
1 +2982120
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/WS12EclPract/pages/2982118/Git
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/WS12EclPract/pages/2982120/Git