Skip to content

Commit e1a2b5a

Browse files
committed
Shell for remotes section
1 parent 63f7fbe commit e1a2b5a

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

docs/guides/101-samples/index.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,3 +1339,89 @@ int error = git_checkout_head(repo, &opts);
13391339
[`git_checkout_opts`](http://libgit2.github.com/libgit2/#HEAD/type/git_checkout_opts),
13401340
[`git_checkout_notify_t`](http://libgit2.github.com/libgit2/#HEAD/type/git_checkout_notify_t)
13411341
)
1342+
1343+
<h2 id="remotes">Remotes</h2>
1344+
1345+
<h3 id="remotes_list">Listing</h3>
1346+
1347+
```c
1348+
git_strarray remotes = {0};
1349+
int error = git_remote_list(&remotes, repo);
1350+
```
1351+
(
1352+
[`git_remote_list`](http://libgit2.github.com/libgit2/#HEAD/group/remote/git_remote_list)
1353+
)
1354+
1355+
<h3 id="remotes_load">Loading</h3>
1356+
1357+
```c
1358+
```
1359+
(
1360+
[``](),
1361+
)
1362+
1363+
<h3 id="remotes_create">Creating</h3>
1364+
1365+
```c
1366+
```
1367+
(
1368+
[``](),
1369+
)
1370+
1371+
<h3 id="remotes_in_memory">Creating (in-memory)</h3>
1372+
1373+
```c
1374+
```
1375+
(
1376+
[``](),
1377+
)
1378+
1379+
<h3 id="remotes_rename">Renaming</h3>
1380+
1381+
```c
1382+
```
1383+
(
1384+
[``](),
1385+
)
1386+
1387+
<h3 id="remotes_properties">Properties</h3>
1388+
1389+
```c
1390+
```
1391+
(
1392+
[``](),
1393+
)
1394+
1395+
<h3 id="remotes_refspecs">Refspecs</h3>
1396+
1397+
```c
1398+
```
1399+
(
1400+
[``](),
1401+
)
1402+
1403+
<h3 id="remotes_modify">Modifying</h3>
1404+
1405+
```c
1406+
```
1407+
(
1408+
[``](),
1409+
)
1410+
1411+
<h3 id="remotes_network">Network</h3>
1412+
1413+
```c
1414+
```
1415+
(
1416+
[``](),
1417+
)
1418+
1419+
<h3 id="remotes_fetch">Fetch</h3>
1420+
1421+
```c
1422+
```
1423+
(
1424+
[``](),
1425+
)
1426+
1427+
<h3 id="remotes_callbacks">Callbacks</h3>

0 commit comments

Comments
 (0)