File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ syntax. Here are various ways to spell object names. The
7
7
ones listed near the end of this list name trees and
8
8
blobs contained in a commit.
9
9
10
+ NOTE: This document shows the "raw" syntax as seen by git. The shell
11
+ and other UIs might require additional quoting to protect special
12
+ characters and to avoid word splitting.
13
+
10
14
'<sha1>', e.g. 'dae86e1950b1277e545cee180551750029cfe735', 'dae86e'::
11
15
The full SHA-1 object name (40-byte hexadecimal string), or
12
16
a leading substring that is unique within the repository.
@@ -186,6 +190,8 @@ existing tag object.
186
190
is matched. ':/!-foo' performs a negative match, while ':/!!foo' matches a
187
191
literal '!' character, followed by 'foo'. Any other sequence beginning with
188
192
':/!' is reserved for now.
193
+ Depending on the given text, the shell's word splitting rules might
194
+ require additional quoting.
189
195
190
196
'<rev>:<path>', e.g. 'HEAD:README', ':README', 'master:./README'::
191
197
A suffix ':' followed by a path names the blob or tree
You can’t perform that action at this time.
0 commit comments