25 lines
725 B
ReStructuredText
25 lines
725 B
ReStructuredText
**********************************************************************
|
|
git-tag
|
|
**********************************************************************
|
|
|
|
----------------------------------------------------------------------
|
|
Showing all tags
|
|
----------------------------------------------------------------------
|
|
|
|
.. code-block:: bash
|
|
|
|
$> git tag
|
|
|
|
.. code-block:: python
|
|
|
|
>>> regex = re.compile('^refs/tags')
|
|
>>> filter(lambda r: regex.match(r), repo.listall_references())
|
|
|
|
----------------------------------------------------------------------
|
|
References
|
|
----------------------------------------------------------------------
|
|
|
|
- git-tag_.
|
|
|
|
.. _git-tag: https://www.kernel.org/pub/software/scm/git/docs/git-tag.html
|