Skip to content

Commit 7abcb68

Browse files
committed
Making it clear we are checking out on a tag
1 parent b1012ba commit 7abcb68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DeveloperGuide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ <h4 id="pybind11">pybind11:</h4>
672672
<p>Choose a location to keep the pybind11 source files (for debugging purposes), e.g. a “C++” folder in your home directory, and then:</p>
673673
<div class="sourceCode" id="cb1"><pre class="sourceCode bash"><code class="sourceCode bash"><a class="sourceLine" id="cb1-1" data-line-number="1"><span class="fu">git</span> clone https://github.com/pybind/pybind11.git</a>
674674
<a class="sourceLine" id="cb1-2" data-line-number="2"><span class="bu">cd</span> pybind11</a>
675-
<a class="sourceLine" id="cb1-3" data-line-number="3"><span class="fu">git</span> checkout v2.2.4 <span class="co"># v2.3.0 has a bug with char enums</span></a>
675+
<a class="sourceLine" id="cb1-3" data-line-number="3"><span class="fu">git</span> checkout tags/v2.2.4 <span class="co"># v2.3.0 has a bug with char enums</span></a>
676676
<a class="sourceLine" id="cb1-4" data-line-number="4"><span class="fu">mkdir</span> build</a>
677677
<a class="sourceLine" id="cb1-5" data-line-number="5"><span class="bu">cd</span> build</a>
678678
<a class="sourceLine" id="cb1-6" data-line-number="6"><span class="fu">cmake</span> -DPYBIND11_PYTHON_VERSION=3.7 ..</a>

DeveloperGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Choose a location to keep the pybind11 source files (for debugging purposes), e.
2222
``` bash
2323
git clone https://github.com/pybind/pybind11.git
2424
cd pybind11
25-
git checkout v2.2.4 # v2.3.0 has a bug with char enums
25+
git checkout tags/v2.2.4 # v2.3.0 has a bug with char enums
2626
mkdir build
2727
cd build
2828
cmake -DPYBIND11_PYTHON_VERSION=3.7 ..

0 commit comments

Comments
 (0)