Skip to content

Commit d0a0515

Browse files
committed
push changes to github
1 parent 34acaf1 commit d0a0515

4 files changed

Lines changed: 32 additions & 14 deletions

File tree

docs/manual-git-rstudio.html

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,14 +585,12 @@ <h3 id="make-a-commit-3">Make a commit</h3>
585585
</section>
586586
<section class="slide level2">
587587

588-
<h3 id="first-time-to-push-your-changes">First time to push your changes</h3>
589-
<p>TODO-Thierry: check if this is correct</p>
588+
<h3 id="push-the-changes-to-github">Push the changes to GitHub</h3>
590589
<ol type="1">
591-
<li>Go to <code>Tools &gt; Shell</code> to open the Git Shell</li>
592-
<li>Type <code>git push -u origin</code></li>
590+
<li>Note that the <code>git</code> pane displays <em>your branch is ahead of ‘origin/master’ by 2 commits</em></li>
591+
<li>Click <code>push</code> in the <code>git</code> pane</li>
593592
</ol>
594-
<p>After this first time, you can just click <code>push</code></p>
595-
<p>TODO-Thierry: screenshot</p>
593+
<p><img src="manual-git/push-rstudio1.png" alt="Push" /></p>
596594
</section>
597595
<section class="slide level2">
598596

@@ -701,6 +699,17 @@ <h3 id="effect-of-changing-switching-branches">Effect of changing switching bran
701699
</section>
702700
<section class="slide level2">
703701

702+
<h3 id="first-push-of-a-new-branch">First push of a new branch</h3>
703+
<p>TODO-Thierry: check if this is correct</p>
704+
<ol type="1">
705+
<li>Go to <code>Tools &gt; Shell</code> to open the Git Shell</li>
706+
<li>Type <code>git push -u origin</code></li>
707+
</ol>
708+
<p>After this first time, you can just click <code>push</code></p>
709+
<p>TODO-Thierry: screenshot</p>
710+
</section>
711+
<section class="slide level2">
712+
704713
<h3 id="create-a-pull-request-to-include-your-work">Create a pull request to include your work</h3>
705714
<ol type="1">
706715
<li>Click <code>push</code></li>

docs/manual-git/push-rstudio1.png

18.8 KB
Loading

source/manual-git-rstudio.Rmd

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,12 @@ _TODO Stijn: how to set username and email?_
150150

151151
---
152152

153-
### First time to push your changes
153+
### Push the changes to GitHub
154154

155-
TODO-Thierry: check if this is correct
156-
157-
1. Go to `Tools > Shell` to open the Git Shell
158-
2. Type `git push -u origin`
159-
160-
After this first time, you can just click `push`
155+
1. Note that the `git` pane displays _your branch is ahead of 'origin/master' by 2 commits_
156+
1. Click `push` in the `git` pane
161157

162-
TODO-Thierry: screenshot
158+
![Push](manual-git/push-rstudio1.png)
163159

164160
---
165161

@@ -290,6 +286,19 @@ TODO-thierry: add screenshot
290286
291287
---
292288
289+
### First push of a new branch
290+
291+
TODO-Thierry: check if this is correct
292+
293+
1. Go to `Tools > Shell` to open the Git Shell
294+
2. Type `git push -u origin`
295+
296+
After this first time, you can just click `push`
297+
298+
TODO-Thierry: screenshot
299+
300+
---
301+
293302
### Create a pull request to include your work
294303
295304
1. Click `push`
18.8 KB
Loading

0 commit comments

Comments
 (0)