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,10 +15,6 @@ 15 15 $ git init 16 16 Initialized empty Git repository in ~/turing/.git/ 17 17 {{/noformat}} 18 - 19 -{{panel}} 20 -**$ mkdir turing $ cd turing $ git init**{{code language="none"}} Initialized empty Git repository in ~/turing/.git/{{/code}} 21 -{{/panel}} 22 22 ))) 23 23 1. ((( 24 24 Add some content: copy [[attach:notes.txt]]{{code language="none"}}{{/code}} to your {{code language="none"}}turing{{/code}} directory. ... ... @@ -45,7 +45,7 @@ 45 45 {{/noformat}} 46 46 ))) 47 47 48 -After the preceding steps you have two commits in your local repository, each with one file in the index. You have different o ptions 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: 49 49 50 50 {{noformat}} 51 51 $ git log ... ... @@ -81,4 +81,4 @@ 81 81 + * The head is controlled by a finite state machine 82 82 {{/noformat}} 83 83 84 -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 -29821 161 +2982120 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/WS12EclPract/pages/29821 16/Git1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/WS12EclPract/pages/2982120/Git