BIOL548O / Discussion

A repository for course discussion in BIOL548O
0 stars 0 forks source link

Final comments and getting your private copy of your repository #42

Open aammd opened 7 years ago

aammd commented 7 years ago

@BIOL548O/2016_students , @BIOL548O/2017_students

Final comments

By now, i hope that everyone has found my final comments on your projects! There should be a "PUll Request" on your repository, breaking down your final grade and commenting on your code. Go to the Pull Request tab and you should see it (You should also have received an email last month about it!)

What to do with a pull request

Well, you don't have to do anything at all! You can treat it just like comments and then do whatever you like with the project. If you would like to include my edits in your project (if I've edited your code, or written comments or other changes), do the following:

  1. Click the big green "Merge Pull Request" button at the bottom of the page. This makes a new "merge commit" in your repo that combines your work and my comments.
  2. In Rstudio, inside the Project associated with this repo, you need to "Pull" these changes, by clicking that small down arrow in the git tab (instead of the upwards-pointing arrow you used to Push)

Then you should be able to see some changes to your script! use the git history (the little clock symbol) to see your projects history; changes will be highlighted there.

Making your own copy of your repository

Now that the course is over, you probably want your own version of this project! There are many different ways to move a repository, but here is one that might be simplest:

  1. Do whatever you want with the Pull Request (e.g. Merge it).
  2. Pull to your computer. Look at the project, make sure it is just the way you want it
  3. Create a new github repository on your OWN account. go to github.com and click the little + in the top right corner. Call the new repository whatever you want. You might want to make sure this repository is Private! 🕵️
    Stop when you reach this stage:
capture d ecran 2017-05-05 a 07 49 25

Copy that "Quick Setup" link.

  1. Back in Rstudio, in your project folder, open a Terminal (We did this back at the start of the class! from the git tab, click the gear icon and choose New Terminal)
  2. Change the address for the origin remote:
git remote set-url origin PASTE/THAT/QUICK-SETUP/LINK
  1. Click the "Push" button in Rstudio

That should do it! Your new (possibly Private) repository should now be ready to go on Github!

Let me know below if you have any questions.

I just wanted to thank you all again for a wonderful course. I learned so much and I hope that you discovered something useful to you in your own work!

Andrew