Skip to content

Commit f9ef6c7

Browse files
committed
Add 'noGitSuffix'
1 parent 11d6975 commit f9ef6c7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
website/build
2-
2+
node_modules

docs/clone.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Clone a repository
1313
| ref | string = undefined | Which branch to clone. By default this is the designated "main branch" of the repository. |
1414
| singleBranch | bool = false | Instead of the default behavior of fetching all the branches, only fetch a single branch. |
1515
| noCheckout | bool = false | If true, clone will only fetch the repo, not check out a branch. Skipping checkout can save a lot of time normally spent writing files to disk. |
16+
| noGitSuffix | bool = false | If true, clone will not auto-append a `.git` suffix to the `url`. (**AWS CodeCommit needs this option**) |
1617
| remote | string = 'origin' | What to name the remote that is created. The default is 'origin'. |
1718
| depth | integer = undefined | Determines how much of the git repository's history to retrieve. |
1819
| since | Date = undefined | Only fetch commits created after the given date. Mutually exclusive with `depth`. |

docs/fetch.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Fetch commits from a remote repository
1212
| url | string = undefined | The URL of the remote repository. Will be gotten from gitconfig if absent. |
1313
| ref | string = 'HEAD' | Which branch to fetch. By default this is the currently checked out branch. |
1414
| singleBranch | bool = false | Instead of the default behavior of fetching all the branches, only fetch a single branch. |
15+
| noGitSuffix | bool = false | If true, clone will not auto-append a `.git` suffix to the `url`. (**AWS CodeCommit needs this option**) |
1516
| remote | string = 'origin' | What to name the remote that is created. The default is 'origin'. |
1617
| depth | integer = undefined | Determines how much of the git repository's history to retrieve. |
1718
| since | Date = undefined | Only fetch commits created after the given date. Mutually exclusive with `depth`. |

0 commit comments

Comments
 (0)