You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+18-2Lines changed: 18 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -140,9 +140,25 @@ <h2>tagging</h2>
140
140
<p>
141
141
it's recommended to create tags for software releases. this is a known concept, which also exists in SVN. You can create a new tag named <i>1.0.0</i> by executing<br/>
142
142
<code>git tag 1.0.0 1b2e1d63ff</code><br/>
143
-
the <i>1b2e1d63ff</i> stands for the first 10 characters of the commit id you want to reference with your tag. You can get the commit id with <br/>
143
+
the <i>1b2e1d63ff</i> stands for the first 10 characters of the commit id you want to reference with your tag. You can get the commit id by looking at the... <br/>
144
+
</p>
145
+
</div>
146
+
<aname="log"></a>
147
+
<divclass="scrollblock block-log">
148
+
<h2>log</h2>
149
+
<p>
150
+
in its simplest form, you can study repository history using..
144
151
<code>git log</code><br/>
145
-
you can also use fewer characters of the commit id, it just has to be unique.
152
+
You can add a lot of parameters to make the log look like what you want. To see only the commits of a certain author:<br/>
153
+
<code>git log --author=bob</code><br/>
154
+
To see a very compressed log where each commit is one line:<br/>
155
+
<code>git log --pretty=oneline</code><br/>
156
+
Or mabe you want to see an ASCII art tree of all the branches, decorated with the names of tags and branches: <br/>
0 commit comments