Changes for page Git
Last modified by Richard Kreissig on 2025/01/30 12:03
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
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 -29821 201 +2982118 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/WS12EclPract/pages/29821 20/Git1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/WS12EclPract/pages/2982118/Git