{"id":6049,"date":"2021-03-24T13:26:37","date_gmt":"2021-03-24T13:26:37","guid":{"rendered":"https:\/\/research.reading.ac.uk\/rse\/?page_id=6049"},"modified":"2022-10-21T23:03:34","modified_gmt":"2022-10-21T22:03:34","slug":"git-and-gitlabuor","status":"publish","type":"page","link":"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/","title":{"rendered":"Git and GitLab@UoR"},"content":{"rendered":"<div id=\"pl-6049\"  class=\"panel-layout\" ><div id=\"pg-6049-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6049-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-6049-0-0-0\" class=\"so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-first-child panel-last-child\" data-index=\"0\" ><div class=\"textwidget\"><h1 style=\"text-align: left\"><span style=\"color: #ffffff\"><span style=\"background-color: #2f7e89;padding-left: 15px;padding-right: 15px\">Git and GitLab@UoR<\/span><\/span><\/h1>\n<p>The objective of this video course is to introduce the basics of the Git file tracking system and show how it can be used in conjunction with GitLab@UoR to create a backup repository. It is not exhaustive and is designed to get you going. Full details can be found on the GitLab help pages.<\/p>\n<h3>Main objectives of course:<\/h3>\n<ul>\n<li>Understand the Git command system.<\/li>\n<li>Understand the meaning of the return messages from commands.<\/li>\n<li>Show how Git displays a history of changes.<\/li>\n<li>Generate SSH keys and export them to GitLab.<\/li>\n<li>Show how a local directory can be backed up and track using the GitLab repository.<\/li>\n<\/ul>\n<\/div><\/div><\/div><\/div><div id=\"pg-6049-1\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6049-1-0\"  class=\"panel-grid-cell\" ><div id=\"panel-6049-1-0-0\" class=\"so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-first-child panel-last-child\" data-index=\"1\" ><div class=\"panel-widget-style panel-widget-style-for-6049-1-0-0\" ><div class=\"textwidget\"><h2><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5600 alignleft colorbox-6049\" src=\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/checklist-300x300.png\" alt=\"\" width=\"79\" height=\"79\" srcset=\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/checklist-300x300.png 300w, https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/checklist-150x150.png 150w, https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/checklist.png 512w\" sizes=\"auto, (max-width: 79px) 100vw, 79px\" \/><span style=\"color: #2f7e89\">Prerequisites<\/span><\/h2>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li>A basic knowledge of command line computing or our <a href=\"https:\/\/research.reading.ac.uk\/rse\/unix-basics\/\">Unix Basics course<\/a>.<\/li>\n<li>An account with <a href=\"http:\/\/gitlab.act.reading.ac.uk\/\">GitLab@UOR<\/a>.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/div><\/div><\/div><\/div><\/div><div id=\"pg-6049-2\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6049-2-0\"  class=\"panel-grid-cell\" ><div id=\"panel-6049-2-0-0\" class=\"so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-first-child panel-last-child\" data-index=\"2\" ><div class=\"textwidget\"><h2><\/h2>\n<table style=\"height: 129px; width: 100.773%; border-collapse: collapse; border-style: hidden;\">\n<tbody>\n<tr style=\"background-color: #2f7e89;\">\n<td style=\"width: 11.543%; border-style: hidden; height: 25px;\">\n<h2 style=\"text-align: center;\"><\/h2>\n<\/td>\n<td style=\"width: 133.238%; border-style: hidden; text-align: center; height: 25px;\">\n<h2 style=\"text-align: left;\"><strong><span style=\"color: #ffffff;\">Course Content<\/span><\/strong><\/h2>\n<\/td>\n<\/tr>\n<tr style=\"height: 30px;\">\n<td style=\"width: 11.543%; height: 30px; border-style: hidden;\"><a href=\"https:\/\/web.microsoftstream.com\/video\/0ca7fe00-dd54-42f7-9edf-bd1b1aad7dd7?list=studio\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5598 colorbox-6049\" style=\"letter-spacing: 0.08px;\" src=\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/play_rse-300x300.png\" alt=\"Link to Git Video Pt 1\" width=\"54\" height=\"54\" srcset=\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/play_rse-300x300.png 300w, https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/play_rse-150x150.png 150w, https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/play_rse.png 512w\" sizes=\"auto, (max-width: 54px) 100vw, 54px\" \/><\/a><\/td>\n<td style=\"width: 133.238%; height: 30px; border-style: hidden;\">\n<h3>1.Git and Git Lab part 1<\/h3>\n<p>Using Git as a file change tracker:<em> track changes to files in a local directory by using the GIt\u00a0 command system<\/em><\/td>\n<\/tr>\n<tr style=\"height: 25px; background-color: #dbdbdb;\">\n<td style=\"width: 11.543%; height: 25px; border-style: hidden;\"><a href=\"https:\/\/web.microsoftstream.com\/video\/9d1f0aec-e4b6-49df-96f7-ec398c2ae85b?list=studio\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5598 colorbox-6049\" style=\"letter-spacing: 0.08px;\" src=\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/play_rse-300x300.png\" alt=\"Using the GitLab repository at UOR to backup files\" width=\"54\" height=\"54\" srcset=\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/play_rse-300x300.png 300w, https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/play_rse-150x150.png 150w, https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/play_rse.png 512w\" sizes=\"auto, (max-width: 54px) 100vw, 54px\" \/><\/a><\/td>\n<td style=\"width: 133.238%; height: 25px; border-style: hidden;\">\n<h3>2.Git and Git Lab part 2<\/h3>\n<p>Using the GitLab: <em>leads on from Part 1 to show how the GitLab repository at UOR can backup and restore local files.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Git and GitLab@UoR The objective of this video course is to introduce the basics of the Git file tracking system and show how it can be used in conjunction with&#8230;<a class=\"read-more\" href=\"&#104;&#116;&#116;&#112;&#115;&#58;&#47;&#47;&#114;&#101;&#115;&#101;&#97;&#114;&#99;&#104;&#46;&#114;&#101;&#97;&#100;&#105;&#110;&#103;&#46;&#97;&#99;&#46;&#117;&#107;&#47;&#114;&#115;&#101;&#47;&#103;&#105;&#116;&#45;&#97;&#110;&#100;&#45;&#103;&#105;&#116;&#108;&#97;&#98;&#117;&#111;&#114;&#47;\">Read More ><\/a><\/p>\n","protected":false},"author":351,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"__cvm_playback_settings":[],"__cvm_video_id":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-6049","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Git and GitLab@UoR - Research Software Engineering at UOR<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git and GitLab@UoR - Research Software Engineering at UOR\" \/>\n<meta property=\"og:description\" content=\"Git and GitLab@UoR The objective of this video course is to introduce the basics of the Git file tracking system and show how it can be used in conjunction with...Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/\" \/>\n<meta property=\"og:site_name\" content=\"Research Software Engineering at UOR\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-21T22:03:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/checklist-300x300.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/\",\"url\":\"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/\",\"name\":\"Git and GitLab@UoR - Research Software Engineering at UOR\",\"isPartOf\":{\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/#website\"},\"datePublished\":\"2021-03-24T13:26:37+00:00\",\"dateModified\":\"2022-10-21T22:03:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/research.reading.ac.uk\/rse\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git and GitLab@UoR\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/#website\",\"url\":\"https:\/\/research.reading.ac.uk\/rse\/\",\"name\":\"Academic Computing Team\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/research.reading.ac.uk\/rse\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/#organization\",\"name\":\"University of Reading\",\"url\":\"https:\/\/research.reading.ac.uk\/rse\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2017\/08\/cropped-University_of_Reading_shield-1.png\",\"contentUrl\":\"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2017\/08\/cropped-University_of_Reading_shield-1.png\",\"width\":512,\"height\":512,\"caption\":\"University of Reading\"},\"image\":{\"@id\":\"https:\/\/research.reading.ac.uk\/rse\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Git and GitLab@UoR - Research Software Engineering at UOR","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/","og_locale":"en_GB","og_type":"article","og_title":"Git and GitLab@UoR - Research Software Engineering at UOR","og_description":"Git and GitLab@UoR The objective of this video course is to introduce the basics of the Git file tracking system and show how it can be used in conjunction with...Read More >","og_url":"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/","og_site_name":"Research Software Engineering at UOR","article_modified_time":"2022-10-21T22:03:34+00:00","og_image":[{"url":"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2021\/01\/checklist-300x300.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/","url":"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/","name":"Git and GitLab@UoR - Research Software Engineering at UOR","isPartOf":{"@id":"https:\/\/research.reading.ac.uk\/rse\/#website"},"datePublished":"2021-03-24T13:26:37+00:00","dateModified":"2022-10-21T22:03:34+00:00","breadcrumb":{"@id":"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/research.reading.ac.uk\/rse\/git-and-gitlabuor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/research.reading.ac.uk\/rse\/"},{"@type":"ListItem","position":2,"name":"Git and GitLab@UoR"}]},{"@type":"WebSite","@id":"https:\/\/research.reading.ac.uk\/rse\/#website","url":"https:\/\/research.reading.ac.uk\/rse\/","name":"Academic Computing Team","description":"","publisher":{"@id":"https:\/\/research.reading.ac.uk\/rse\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/research.reading.ac.uk\/rse\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/research.reading.ac.uk\/rse\/#organization","name":"University of Reading","url":"https:\/\/research.reading.ac.uk\/rse\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/research.reading.ac.uk\/rse\/#\/schema\/logo\/image\/","url":"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2017\/08\/cropped-University_of_Reading_shield-1.png","contentUrl":"https:\/\/research.reading.ac.uk\/rse\/wp-content\/uploads\/sites\/146\/2017\/08\/cropped-University_of_Reading_shield-1.png","width":512,"height":512,"caption":"University of Reading"},"image":{"@id":"https:\/\/research.reading.ac.uk\/rse\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/research.reading.ac.uk\/rse\/wp-json\/wp\/v2\/pages\/6049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/research.reading.ac.uk\/rse\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/research.reading.ac.uk\/rse\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/research.reading.ac.uk\/rse\/wp-json\/wp\/v2\/users\/351"}],"replies":[{"embeddable":true,"href":"https:\/\/research.reading.ac.uk\/rse\/wp-json\/wp\/v2\/comments?post=6049"}],"version-history":[{"count":6,"href":"https:\/\/research.reading.ac.uk\/rse\/wp-json\/wp\/v2\/pages\/6049\/revisions"}],"predecessor-version":[{"id":6939,"href":"https:\/\/research.reading.ac.uk\/rse\/wp-json\/wp\/v2\/pages\/6049\/revisions\/6939"}],"wp:attachment":[{"href":"https:\/\/research.reading.ac.uk\/rse\/wp-json\/wp\/v2\/media?parent=6049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}