Skip to content

Commit 3d6d93d

Browse files
authored
Merge pull request #11486 from pytest-dev/RonnyPfannschmidt-contributing-tags
2 parents 2401d76 + 696859f commit 3d6d93d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CONTRIBUTING.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ Short version
197197
~~~~~~~~~~~~~
198198

199199
#. Fork the repository.
200+
#. Fetch tags from upstream if necessary (if you cloned only main `git fetch --tags https://github.com/pytest-dev/pytest`).
200201
#. Enable and install `pre-commit <https://pre-commit.com>`_ to ensure style-guides and code checks are followed.
201202
#. Follow **PEP-8** for naming and `black <https://github.com/psf/black>`_ for formatting.
202203
#. Tests are run using ``tox``::
@@ -236,6 +237,7 @@ Here is a simple overview, with pytest-specific bits:
236237

237238
$ git clone [email protected]:YOUR_GITHUB_USERNAME/pytest.git
238239
$ cd pytest
240+
$ git fetch --tags https://github.com/pytest-dev/pytest
239241
# now, create your own branch off "main":
240242

241243
$ git checkout -b your-bugfix-branch-name main

0 commit comments

Comments
 (0)