{"action":"created","issue":{"url":"https://api.github.com/repos/swcarpentry/training-course/issues/347","labels_url":"https://api.github.com/repos/swcarpentry/training-course/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/training-course/issues/347/comments","events_url":"https://api.github.com/repos/swcarpentry/training-course/issues/347/events","html_url":"https://github.com/swcarpentry/training-course/pull/347","id":60953244,"number":347,"title":"Adding MCQ about Git Hub Blog","user":{"login":"LaurieBa","id":10796249,"avatar_url":"https://avatars.githubusercontent.com/u/10796249?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurieBa","html_url":"https://github.com/LaurieBa","followers_url":"https://api.github.com/users/LaurieBa/followers","following_url":"https://api.github.com/users/LaurieBa/following{/other_user}","gists_url":"https://api.github.com/users/LaurieBa/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurieBa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurieBa/subscriptions","organizations_url":"https://api.github.com/users/LaurieBa/orgs","repos_url":"https://api.github.com/users/LaurieBa/repos","events_url":"https://api.github.com/users/LaurieBa/events{/privacy}","received_events_url":"https://api.github.com/users/LaurieBa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-13T01:18:21Z","updated_at":"2015-03-15T15:27:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swcarpentry/training-course/pulls/347","html_url":"https://github.com/swcarpentry/training-course/pull/347","diff_url":"https://github.com/swcarpentry/training-course/pull/347.diff","patch_url":"https://github.com/swcarpentry/training-course/pull/347.patch"},"body":"Adding MCS about adding a second blog post to git hub"},"comment":{"url":"https://api.github.com/repos/swcarpentry/training-course/issues/comments/81095931","html_url":"https://github.com/swcarpentry/training-course/pull/347#issuecomment-81095931","issue_url":"https://api.github.com/repos/swcarpentry/training-course/issues/347","id":81095931,"user":{"login":"LaurieBa","id":10796249,"avatar_url":"https://avatars.githubusercontent.com/u/10796249?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurieBa","html_url":"https://github.com/LaurieBa","followers_url":"https://api.github.com/users/LaurieBa/followers","following_url":"https://api.github.com/users/LaurieBa/following{/other_user}","gists_url":"https://api.github.com/users/LaurieBa/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurieBa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurieBa/subscriptions","organizations_url":"https://api.github.com/users/LaurieBa/orgs","repos_url":"https://api.github.com/users/LaurieBa/repos","events_url":"https://api.github.com/users/LaurieBa/events{/privacy}","received_events_url":"https://api.github.com/users/LaurieBa/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T15:27:47Z","updated_at":"2015-03-15T15:27:47Z","body":"Hi Greg,\n\nHmmm, I can see the attachment on the last e-mail from my end. Is it a\nproblem if it is a .md file? Here is the file as a .txt, let me know if it\nattaches okay.\n\nSorry my post is having issues.\n\nLaurie\n\nOn Sat, Mar 14, 2015 at 2:24 AM, Greg Wilson <notifications@github.com>\nwrote:\n\n> Hi Laurie,\n> I'm sorry, but there wasn't an attached file - can you please re-send?\n> Thx,\n> G\n>\n> On 2015-03-13 9:23 AM, LaurieBa wrote:\n> > Hi Greg, I tried to send it again. Could there be something in how I am\n> > writing the MCQ that would be truncating it? The other version I uploaded\n> > appears the same. Here is the text file attached.\n> >\n> > Cheers,\n> >\n> > Laurie\n> >\n> > On Fri, Mar 13, 2015 at 4:37 AM, Greg Wilson <notifications@github.com>\n> > wrote:\n> >\n> > > @LaurieBa <https://github.com/LaurieBa> was this file truncated\n> > > accidentally?\n> > >\n> > > —\n> > > Reply to this email directly or view it on GitHub\n> > >\n> > <\n> https://github.com/swcarpentry/training-course/pull/347#issuecomment-78795947\n> >\n> > > .\n> > >\n> >\n> >\n> >\n> > --\n> > Laurie Baker\n> > University of St. Andrews '11\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <\n> https://github.com/swcarpentry/training-course/pull/347#issuecomment-79097162\n> >.\n> >\n>\n> --\n> Dr. Greg Wilson | gvwilson@software-carpentry.org\n> Software Carpentry | http://software-carpentry.org\n>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/swcarpentry/training-course/pull/347#issuecomment-79717575>\n> .\n>\n\n\n\n-- \nLaurie Baker\nUniversity of St. Andrews '11\n\n---\ndate: 2015-03-12\nround: Round 12\ntitle: Adding a second post to the github blog\nauthor: Laurie Baker\npermalink: /2015/03/laurie-baker-mcq/\ntags:\n - Assessment\n - MCQ\n---\n\nAlthough this is not apart of a specific lesson, I thought it would be useful to have a question to check about the run through you do in the terminal for submitting your second blog post. \r\rMCQ 1. The Question:\n\rYou’ve successfully cloned the training course repository and added your first GitHub blog post. What is the correct workflow in the terminal when adding your second ever GitHub Blog post?\rA.\t1. git pull upstream gh-pages 2. git add 2015-02-26-for-loops-R.md 3. git commit 2015-02-26-for-loops-R.md 4. git push origin gh-pages.\r\rB.\t1. git clone https://github.com/your-repo/training-course.git 2. git remote add upstream https://github.com/swcarpentry/training-course.git 3. git add 2015-02-26-for-loops-R.md 3. git commit 2015-02-26-for-loops-R.md 4. git push origin gh-pages.\r\r\r\rC.\t1. git clone https://github.com/your-repo/training-course.git 2. git pull upstream gh-pages 3. git add 2015-02-26-for-loops-R.md 4. git commit 2015-02-26-for-loops-R.md 5. git push origin gh-pages.\r\r\rD.\t1. git remote add upstream https://github.com/swcarpentry/training-course.git 2. git pull upstream gh-pages 3. git add 2015-02-26-for-loops-R.md 4. git commit 2015-02-26-for-loops-R.md 5. git push origin gh-pages.\r\r\r\rMCQ 2 The possible answers with explanations for the distractors\n\n\rA.\t1. git pull upstream gh-pages 2. git add 2015-02-26-for-loops-R.md 3. git commit 2015-02-26-for-loops-R.md 4. git push origin gh-pages.\r\rIn this question the learner has gotten the correct work flow apart from the fact that they need to add the upstream once for this second blog post. \r\rB.\t1. git clone https://github.com/your-repo/training-course.git 2. git remote add upstream https://github.com/swcarpentry/training-course.git 3. git add 2015-02-26-for-loops-R.md 3. git commit 2015-02-26-for-loops-R.md 4. git push origin gh-pages.\r\r\rIn the question the learner will have confused that you only need to clone the training course repository on git once and that you only need to pull what is upstream to update your copy of the training course.\r\rC.\t1. git clone https://github.com/your-repo/training-course.git 2. git pull upstream gh-pages 3. git add 2015-02-26-for-loops-R.md 4. git commit 2015-02-26-for-loops-R.md 5. git push origin gh-pages.\r\rIn the question the learner will have confused that you only need to clone the training course repository on git once. They have also forgotten that as this is their second blog post, they will also need to add the upstream once per repository. \r\rD.\t1. git remote add upstream https://github.com/swcarpentry/training-course.git 2. git pull upstream gh-pages 3. git add 2015-02-26-for-loops-R.md 4. git commit 2015-02-26-for-loops-R.md 5. git push origin gh-pages.\r\rThis is the correct work flow. \r\n\n"}}