Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fink install git-py27
- ipython
- Python 2.7.3 (default, Sep 7 2012, 14:05:53)
- Type "copyright", "credits" or "license" for more information.
- IPython 0.13 -- An enhanced Interactive Python.
- ? -> Introduction and overview of IPython's features.
- %quickref -> Quick reference.
- help -> Python's own help system.
- object? -> Details about 'object', use 'object??' for extra details.
- In [1]: from git import Git
- In [2]: ui = Git(".")
- In [3]: ui.ls_remote("origin", tags=True)
- Out[3]: 'c799a533348eb29ed2308dc2cc8458eef7e2fe15\trefs/tags/v5.3.1982'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement