Skip to content

Commit 5cff5c7

Browse files
committed
Fix typo
1 parent 2c4f930 commit 5cff5c7

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

content/v3/git/trees.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,22 @@ a new tree out.
3737
### Parameters
3838

3939
base_tree
40-
: optional _String_ of the SHA1 of the tree you want to update with new data. If you don't set this it the commit will be created on top of everything, however, it will only contain your change, the rest of your files will show up as deleted.
40+
: optional _String_ of the SHA1 of the tree you want to update with new data.
41+
If you don't set this, the commit will be created on top of everything,
42+
however, it will only contain your change, the rest of your files will show up
43+
as deleted.
4144

4245
tree
43-
: _Array_ of _Hash_ objects (of `path`, `mode`, `type` and `sha`) specifying a tree structure
46+
: _Array_ of _Hash_ objects (of `path`, `mode`, `type` and `sha`) specifying a
47+
tree structure
4448

4549
tree.path
4650
: _String_ of the file referenced in the tree
4751

4852
tree.mode
49-
: _String_ of the file mode - one of `100644` for file (blob), `100755` for executable (blob), `040000` for subdirectory (tree), `160000` for submodule (commit) or `120000` for a blob that specifies the path of a symlink
53+
: _String_ of the file mode - one of `100644` for file (blob), `100755` for
54+
executable (blob), `040000` for subdirectory (tree), `160000` for submodule
55+
(commit) or `120000` for a blob that specifies the path of a symlink
5056

5157
tree.type
5258
: _String_ of `blob`, `tree`, `commit`
@@ -55,7 +61,8 @@ tree.sha
5561
: _String_ of SHA1 checksum ID of the object in the tree
5662

5763
tree.content
58-
: _String_ of content you want this file to have - GitHub will write this blob out and use that SHA for this entry. Use either this or `tree.sha`
64+
: _String_ of content you want this file to have - GitHub will write this blob
65+
out and use that SHA for this entry. Use either this or `tree.sha`
5966

6067
### Input
6168

0 commit comments

Comments
 (0)