Skip to content

Commit 574281d

Browse files
committed
update readme
1 parent fbb30c6 commit 574281d

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
1818
- Fetches only a single commit by default
1919
- Script authenticated git commands
2020
- Auth token persisted in the local git config
21+
- Supports SSH
2122
- Creates a local branch
2223
- No longer detached HEAD when checking out a branch
2324
- Improved layout
@@ -116,7 +117,6 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
116117
- [Checkout multiple repos (private)](#Checkout-multiple-repos-private)
117118
- [Checkout pull request HEAD commit instead of merge commit](#Checkout-pull-request-HEAD-commit-instead-of-merge-commit)
118119
- [Checkout pull request on closed event](#Checkout-pull-request-on-closed-event)
119-
- [Checkout submodules](#Checkout-submodules)
120120
- [Fetch all tags](#Fetch-all-tags)
121121
- [Fetch all branches](#Fetch-all-branches)
122122
- [Fetch all history for all tags and branches](#Fetch-all-history-for-all-tags-and-branches)
@@ -207,20 +207,6 @@ jobs:
207207
- uses: actions/checkout@v2
208208
```
209209

210-
## Checkout submodules
211-
212-
```yaml
213-
- uses: actions/checkout@v2
214-
- name: Checkout submodules
215-
shell: bash
216-
run: |
217-
# If your submodules are configured to use SSH instead of HTTPS please uncomment the following line
218-
# git config --global url."https://github.com/".insteadOf "[email protected]:"
219-
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
220-
git submodule sync --recursive
221-
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
222-
```
223-
224210
## Fetch all tags
225211

226212
```yaml

0 commit comments

Comments
 (0)