netid
.For the project assignments, you don’t need to create your own copy (fork) of the original repository that it’s located in the UW-POLS503
organization.
You do need to clone the repo.
Open RStudio and create a new Git RProject: File > New Project > Version Control > Git
Enter the URL to where it says Repository URL
. It will create a directory name with your UW netID
. This new directory will have the original files in the repository plus an .Rproj
and .gitingore
file.
Every time you work on a new assignment:
proposal.md
).Push and Commit the changes you made to existing files, or the new files you created, to the online version of the repository. Follow the same instructions in here.
Create a new issue in your private repository in GitHub.
Title the new issue “Review Project Assignment
We’ll create a new repository in the UW-POLS503 organization for each assignment (e.g. Assignment_01 ). Follow the following steps to work on and submitt the homework.
Now you have a copy of the repository in your onlineGitHub
account.
Open RStudio and create a new Git RProject: File > New Project > Version Control > Git
Enter the URL to where it says Repository URL
. It will create a directory named Assignment_01
that will have the original files in the repository plus an .Rproj
and .gitingore
file.
solutions.Rmd
.File > New File > R Markdown
Give it a Title
: e.g. ** Assignment 1**.
Choose PDF as the Default Output Format
.
Now you have an R Markdown
document that looks similar to this.
Write your solutions in this R Mardown
document.
Once you’re done writing your solutions:
Make sure you saved the final version of solutions.Rmd
.
Staged the changes and click on Commit
.
Write a commit message and click on Commit
again. A window message should open indicating that the commit has been made. Close it.
Finally, click on Push
.
Another window message shoud open indicating that you have pushed the changes to the online verison of the repository in your GitHub account.
<div style="width:500px; height=200px">
![](img/push2.png)
</div>
Once you’re done with the assignment and your solutions.Rmd
is already in your online version of the assignment’s repository:
Click on New Pull Request
.
Click on Create pull request
.
Title your pull request Submission and click on Create pull request
.