Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5cd5cbe

Browse filesBrowse files
committed
docs(README): Fix example
1 parent 875854a commit 5cd5cbe
Copy full SHA for 5cd5cbe

File tree

Expand file treeCollapse file tree

1 file changed

+4
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-10
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+4-10Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,12 @@ repo = GitProject(
5656
'gitlab': 'https://gitlab.com/vcs-python/libvcs'
5757
}
5858
)
59-
```
60-
61-
Update / clone repo:
62-
63-
```python
64-
>>> r.update_repo()
65-
```
6659

67-
Get revision:
60+
# Update / clone repo:
61+
>>> repo.update_repo()
6862

69-
```python
70-
>>> r.get_revision()
63+
# Get revision:
64+
>>> repo.get_revision()
7165
u'5c227e6ab4aab44bf097da2e088b0ff947370ab8'
7266
```
7367

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.