fix set-url command
This commit is contained in:
@ -10,7 +10,7 @@ in heckin gitea, create destination repo.
|
||||
|
||||
### 2. add dronefile to source repo
|
||||
|
||||
Filename: `.drone.yml`, in root of repo. Note the `<>` vars to replace.
|
||||
Filename: `.drone.yml`, in root of repo. Note the `<vars>` to replace.
|
||||
|
||||
```yaml
|
||||
kind: pipeline
|
||||
@ -79,7 +79,7 @@ git submodule add <remote-url>
|
||||
if you used the SSH url, set it to the HTTPS url.
|
||||
|
||||
```sh
|
||||
git submodule set-url <remote-url-https>
|
||||
git submodule set-url <dest-repo> <remote-url-https>
|
||||
git add .gitmodules # the changes from submodule add are auto-staged, this config change isn't
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user