{"id":67,"date":"2018-09-28T10:07:27","date_gmt":"2018-09-28T14:07:27","guid":{"rendered":"http:\/\/sites.nd.edu\/crivaldi\/?p=67"},"modified":"2019-11-05T14:46:58","modified_gmt":"2019-11-05T18:46:58","slug":"git-version-control-and-reproducibility","status":"publish","type":"post","link":"https:\/\/sites.nd.edu\/crivaldi\/2018\/09\/28\/git-version-control-and-reproducibility\/","title":{"rendered":"Git &#8211; Version Control and Reproducibility"},"content":{"rendered":"<p><em>*Note to all users: As of 07\/14\/2019, all posts have been moved to (and are being updated at <a href=\"https:\/\/crivaldi.github.io\">crivaldi.github.io . <\/a>I don&#8217;t have plans to shut this site down, but I have no idea how long it will be maintained by the university in the future.*<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-70 aligncenter\" src=\"http:\/\/sites.nd.edu\/crivaldi\/files\/2018\/09\/7d1a6da093926fb47b64fad5e4ac25b5-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/sites.nd.edu\/crivaldi\/files\/2018\/09\/7d1a6da093926fb47b64fad5e4ac25b5-300x169.jpg 300w, https:\/\/sites.nd.edu\/crivaldi\/files\/2018\/09\/7d1a6da093926fb47b64fad5e4ac25b5.jpg 640w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/p>\n<h1 style=\"text-align: center\">Welcome.<\/h1>\n<h1 style=\"text-align: center\">Everything is fine.<\/h1>\n<h1>Git &amp; github links\/instructions<\/h1>\n<p>Since we&#8217;re going to be using git for the rest of the semester to turn in assignments, we should get it down pretty good now.<\/p>\n<p>Here&#8217;s a nice explanation of git &amp; github that uses an analogy of an author writing a book.<\/p>\n<p><a href=\"https:\/\/blog.red-badger.com\/blog\/2016\/11\/29\/gitgithub-in-plain-english\">https:\/\/blog.red-badger.com\/blog\/2016\/11\/29\/gitgithub-in-plain-english<\/a><\/p>\n<p>When git goes wrong:<\/p>\n<p><a href=\"http:\/\/ohshitgit.com\">http:\/\/ohshitgit.com<\/a><\/p>\n<h3>Resolve a conflict<\/h3>\n<p>https:\/\/help.github.com\/articles\/resolving-a-merge-conflict-using-the-command-line\/<\/p>\n<h3>Turning in assignments &#8211; only one per pair\/group<\/h3>\n<ol>\n<li>Complete the exercise on your local machine. Commit your changes.<\/li>\n<li>Push your repo to your own github repository.<\/li>\n<li>Go to the GitHub website and your own repository (which is a forked repo of my original repo).<\/li>\n<li>Use &#8220;Pull Request&#8221; to turn in your assignment (upper middle of the screen, click &#8220;New Pull Request&#8221;<\/li>\n<li>Make sure to type you and your collaborator&#8217;s name into the text box (ex: jones-rivaldi submission).<\/li>\n<li>Click &#8220;Create Pull Request&#8221;<\/li>\n<li>Done!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>*Note to all users: As of 07\/14\/2019, all posts have been moved to (and are being updated at crivaldi.github.io . I don&#8217;t have plans to shut this site down, but I have no idea how long it will be maintained by the university in the future.* &nbsp; Welcome. Everything is fine. Git &amp; github links\/instructions &hellip; <a href=\"https:\/\/sites.nd.edu\/crivaldi\/2018\/09\/28\/git-version-control-and-reproducibility\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Git &#8211; Version Control and Reproducibility&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2790,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[29880,29881],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-unix","category-version-control-with-git"],"_links":{"self":[{"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/users\/2790"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":8,"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/posts\/67\/revisions\/174"}],"wp:attachment":[{"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.nd.edu\/crivaldi\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}