| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 74b3ddc commit bab91fe
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,8 +24,8 @@ Get the list of a project's remote mirrors:: | |||
| 24 | 24 | ||
| 25 | 25 | Create (and enable) a remote mirror for a project:: | |
| 26 | 26 | ||
| 27 | - mirror = project.wikis.create({'url': 'https://gitlab.com/example.git', | ||
| 28 | - 'enabled': True}) | ||
| 27 | + mirror = project.remote_mirrors.create({'url': 'https://gitlab.com/example.git', | ||
| 28 | + 'enabled': True}) | ||
| 29 | 29 | ||
| 30 | 30 | Update an existing remote mirror's attributes:: | |
| 31 | 31 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments