Skip to content

Commit

Permalink
fixing directions
Browse files Browse the repository at this point in the history
  • Loading branch information
libjohn committed Jan 31, 2019
1 parent 33a9ab0 commit 1b8717f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions handson.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ This step was covered in the [Outline Section](outline.html). In that section yo
1. In the Rstudio Console: `library(usethis)`
1. In the Console: `use_git(message = "first commit for my helo world")`
1. Create a Readme File: `use_readme_md()` (Edit your README. [Example README template](https://gist.github.com/PurpleBooth/109311bb0361f32d87a2))
1. Push your repository to GitHub: `use_github(protocol = "https")`
1. Push your repository to GitHub: `use_github(protocol = "https")` and **restart R**
1. Add a license: [GitHub instructions](https://help.github.com/articles/adding-a-license-to-a-repository/)
1. Pull the GitHub changes to your local workstations via Rstudio's git client
1. Congratulations. You've just created your first GitHub repository. Now you can see your repository -- including the three files you just created.
1. Congratulations. You've just created your first GitHub repository. Now you can see your repository. congratulations. you've created a repo. On your local file-system you should still see the unstaged `README.md`. Both the local and the remote (GitHub) have the `LICENSE.md` file created at GitHub. you've created a repo.

 

Expand Down
5 changes: 1 addition & 4 deletions handson_branch.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,11 @@ This document follows set-up from the [previous document](handson.html)
- For a branch name, in the branch text box, type: `version2`
- Click `Create`
Moving back to the text editor in RStudio, create a new markdown document listing 3 favorite movies. Save the file as `movies.md`
- Commit your changes
```{r echo=FALSE, fig.align='center', fig.cap="Create Branch"}
knitr::include_graphics('images/branch_create.png')
```
2. Back to the RStudio text editor, create a new text file listing three favorite movies. Save the file as `movies.md`. **Commit** and **push** your changes
2. Checkout the *master* branch
- Watch the **Files** tab as you switch back to the *master* branch. Where is the `movies.md` file?
Expand Down
6 changes: 3 additions & 3 deletions handson_pr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ If you intend to submit modifications to some other repository by issuing a Pull

#### Exercise

1. [Source] Clone [this test repository](https://github.com/data-and-visualization/pr_hello-world
1. [Source] **Clone** [this test repository](https://github.com/data-and-visualization/pr_hello-world
)
1. [Source] Have your partner `fork` your repository
1. [Partner] After you forked above, `clone` your forked repository
1. [Source] Have your partner **fork** _your_ repository
1. [Partner] After you forked above, **clone** your forked repository
1. [Partner] Make some changes to your cloned [forked] repository. (e.g. add a file, edit the readme, etc.)
1. [Partner] Using the git commands you've already learned: add, commit, and push the changes
Expand Down

0 comments on commit 1b8717f

Please sign in to comment.