8  Exercise: Practicing Version Control in RStudio

In this section, you will practice a standard version control workflow using a repository from PATH’s Github Organization. Be sure you send your Github email and username to one of the Data Fellowship staff members so that we can add you to the organization

8.0.1 Cloning a repository

  1. Clone the repository named git-practice.
  2. Create an edit to the file called success.txt by adding a line contain your Github user name and the steps you used to clone the repository.
  3. Commit your change, then then submit your changes.

8.0.2 Create a fork and Pull Request (PR)

  1. Create a fork of the git-practice repository, which will make a copy onto your personal Github account.
  2. Add a R script that you have created to the repository, and commit and push the new file to Github.
  3. Submit a pull request (PR) to have your copy of the repository merged into the main repo on PATH-Global-Health.
  4. Once your PR has been confrimed by someone else in the Organization, delete your fork from your personal Github.