Skip to content

Commit 2a269f6

Browse files
How to update master (#74)
* git command to update branch * update dashboard
1 parent 301ec02 commit 2a269f6

File tree

5 files changed

+25
-5
lines changed

5 files changed

+25
-5
lines changed

pandas/dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h1 style="margin-left: 30px;">#pandasSprint</h1>
3333
<ol style="margin-left: 30px;">
3434
<li><input type="checkbox"><a href="https://python-sprints.github.io/pandas/guide/pandas_setup.html">Install the environment</a>
3535
<ul>
36-
<li><input type="checkbox">Make sure to update your local pandas with the latest upstream changes</li>
36+
<li><input type="checkbox">Make sure to <a href="https://python-sprints.github.io/pandas/guide/pandas_setup.html#create-a-branch-and-start-coding">update your local pandas</a> with the latest upstream changes</li>
3737
</ul>
3838
</li>
3939
<li><input type="checkbox">Join the <a href="https://gitter.im/py-sprints/pandas-doc">Gitter channel</a></li>

pandas/guide/_sources/pandas_setup.rst.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,13 @@ to submit a pull request, so they are included in pandas.
122122
**Windows users**: run the next commands with Git Bash started at the cloned
123123
pandas folder.
124124

125-
You can create a git branch running:
125+
Before creating a branch, make sure that you fetched the latest master version
126+
of the upstream pandas repository. You can do this with:
127+
128+
| ``git checkout master``
129+
| ``git pull upstream master --ff-only``
130+
131+
Then, you can create a new git branch running:
126132
| ``git checkout -b <new_branch_name>``
127133
128134
The branch name should be descriptive of the feature you will work on. For

pandas/guide/pandas_setup.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,16 @@ <h3>5. Create a branch and start coding<a class="headerlink" href="#create-a-bra
183183
<p class="last"><strong>Windows users</strong>: run the next commands with Git Bash started at the cloned
184184
pandas folder.</p>
185185
</div>
186+
<p>Before creating a branch, make sure that you fetched the latest master version
187+
of the upstream pandas repository. You can do this with:</p>
188+
<blockquote>
189+
<div><div class="line-block">
190+
<div class="line"><code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">checkout</span> <span class="pre">master</span></code></div>
191+
<div class="line"><code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">pull</span> <span class="pre">upstream</span> <span class="pre">master</span> <span class="pre">--ff-only</span></code></div>
192+
</div>
193+
</div></blockquote>
186194
<dl class="docutils">
187-
<dt>You can create a git branch running:</dt>
195+
<dt>Then, you can create a new git branch running:</dt>
188196
<dd><div class="first last line-block">
189197
<div class="line"><code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">checkout</span> <span class="pre">-b</span> <span class="pre">&lt;new_branch_name&gt;</span></code></div>
190198
</div>

pandas/guide/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pandas/guide/source/pandas_setup.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,13 @@ to submit a pull request, so they are included in pandas.
122122
**Windows users**: run the next commands with Git Bash started at the cloned
123123
pandas folder.
124124

125-
You can create a git branch running:
125+
Before creating a branch, make sure that you fetched the latest master version
126+
of the upstream pandas repository. You can do this with:
127+
128+
| ``git checkout master``
129+
| ``git pull upstream master --ff-only``
130+
131+
Then, you can create a new git branch running:
126132
| ``git checkout -b <new_branch_name>``
127133
128134
The branch name should be descriptive of the feature you will work on. For

0 commit comments

Comments
 (0)