This repository was archived by the owner on Mar 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Support shallow clone [#37] #41
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1e65642
add support for passing in key
e2661d0
Merge pull request #1 from sharathprabhal/origin/support-key
sharathprabhal 6690aff
pass config to connection pool
a6f5468
Merge pull request #2 from sharathprabhal/support-key
sharathprabhal 939cf36
pass only key
28c42e6
Merge pull request #3 from sharathprabhal/support-key
sharathprabhal 5778207
revert
566d4ca
Merge pull request #4 from sharathprabhal/support-ssh-key
sharathprabhal b8bd070
Merge branch 'master' of https://github.com/sharathprabhal/grunt-shipit
99f0712
Merge remote-tracking branch 'upstream/master'
429d428
Add support for shallow clone. [#37]
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,6 +101,12 @@ Type: `String` | |
|
|
||
| Path to SSH key | ||
|
|
||
| #### shallowClone | ||
|
|
||
| Type: `Boolean` | ||
|
|
||
| Perform a shallow clone. Default: `false`. | ||
|
|
||
| ### Usage example | ||
|
|
||
| ```js | ||
|
|
@@ -111,7 +117,8 @@ shipit: { | |
| repositoryUrl: 'https://github.com/user/repo.git', | ||
| ignores: ['.git', 'node_modules'], | ||
| keepReleases: 2, | ||
| key: '/path/to/key' | ||
| key: '/path/to/key', | ||
| shallowClone: true | ||
| }, | ||
| staging: { | ||
| servers: '[email protected]' | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ | |
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git://github.com/neoziro/grunt-shipit.git" | ||
| "url": "https://github.com/sharathprabhal/grunt-shipit" | ||
| }, | ||
| "keywords": [ | ||
| "gruntplugin", | ||
|
|
@@ -17,7 +17,7 @@ | |
| "author": "Greg Bergé <[email protected]>", | ||
| "license": "MIT", | ||
| "bugs": { | ||
| "url": "https://github.com/neoziro/grunt-shipit/issues" | ||
| "url": "https://github.com/sharathprabhal/grunt-shipit/issues" | ||
| }, | ||
| "dependencies": { | ||
| "async": "^0.9.0", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please :)