{"id":8441,"date":"2022-04-12T18:51:22","date_gmt":"2022-04-12T18:51:22","guid":{"rendered":"http:\/\/sites.la.utexas.edu\/kb\/?p=8441"},"modified":"2022-04-12T18:51:22","modified_gmt":"2022-04-12T18:51:22","slug":"using-git-sync-wp","status":"publish","type":"post","link":"http:\/\/sites.la.utexas.edu\/kb\/2022\/04\/12\/using-git-sync-wp\/","title":{"rendered":"Using Git Sync (WP)"},"content":{"rendered":"\n<p>Go to the Plugins tab in the left sidebar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.14-PM-1024x481.png\" alt=\"\" class=\"wp-image-8513\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.14-PM-1024x481.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.14-PM-300x141.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.14-PM-768x360.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.14-PM-1536x721.png 1536w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.14-PM-2048x961.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click Add New.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"82\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.29-PM.png\" alt=\"\" class=\"wp-image-8514\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.29-PM.png 350w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.29-PM-300x70.png 300w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/figure>\n\n\n\n<p>Search for &#8220;gitsync&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"334\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.57-PM-1024x334.png\" alt=\"\" class=\"wp-image-8515\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.57-PM-1024x334.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.57-PM-300x98.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.57-PM-768x250.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.57-PM-1536x501.png 1536w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.38.57-PM-2048x668.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Install and activate the plugin. It should now show up in the left sidebar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"838\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.39.28-PM-1024x838.png\" alt=\"\" class=\"wp-image-8516\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.39.28-PM-1024x838.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.39.28-PM-300x245.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.39.28-PM-768x628.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.39.28-PM.png 1210w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To add a theme, enter the GitHub repo URL for your theme and your personal access token.<em> <\/em>A success message will pop up if you enter in your info correctly.<\/p>\n\n\n\n<p><em>If you don&#8217;t know how to create a personal access token, the <a rel=\"noreferrer noopener\" href=\"https:\/\/sites.la.utexas.edu\/kb\/2021\/09\/16\/web-dev-basics-git-and-github\/\" data-type=\"URL\" data-id=\"https:\/\/sites.la.utexas.edu\/kb\/2021\/09\/16\/web-dev-basics-git-and-github\/\" target=\"_blank\">Git and GitHub training<\/a> contains instructions.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"235\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.43.06-PM-1024x235.png\" alt=\"\" class=\"wp-image-8519\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.43.06-PM-1024x235.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.43.06-PM-300x69.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.43.06-PM-768x176.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.43.06-PM-1536x353.png 1536w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.43.06-PM-2048x470.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To sync using this plugin, we&#8217;ll need to create <strong>releases<\/strong> in GitHub.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.44.14-PM-1024x538.png\" alt=\"\" class=\"wp-image-8520\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.44.14-PM-1024x538.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.44.14-PM-300x158.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.44.14-PM-768x403.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.44.14-PM-1536x807.png 1536w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.44.14-PM-2048x1076.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>On the repo&#8217;s page, click on &#8220;Releases&#8221;. Then click &#8220;Draft a new release&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"420\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.45.34-PM-1024x420.png\" alt=\"\" class=\"wp-image-8521\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.45.34-PM-1024x420.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.45.34-PM-300x123.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.45.34-PM-768x315.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.45.34-PM-1536x630.png 1536w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.45.34-PM-2048x841.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Follow these naming conventions:<br>&#8211; Name: release-YYYYMMDD (ex: release-20211213)<br>&#8211; Tag: YYYYMMDD (ex: 20211213)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"616\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.47.44-PM-1024x616.png\" alt=\"\" class=\"wp-image-8524\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.47.44-PM-1024x616.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.47.44-PM-300x180.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.47.44-PM-768x462.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.47.44-PM-1536x923.png 1536w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.47.44-PM.png 2006w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click Publish Release.<\/p>\n\n\n\n<p>Go back to the Git Sync plugin and you should see the new release available in the Available Releases dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"418\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.48.37-PM-1024x418.png\" alt=\"\" class=\"wp-image-8525\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.48.37-PM-1024x418.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.48.37-PM-300x122.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.48.37-PM-768x313.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2022\/04\/Screen-Shot-2022-04-12-at-1.48.37-PM.png 1172w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select the release you want to sync to and click &#8220;Sync to this release&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go to the Plugins tab in the left sidebar. Click Add New. Search for &#8220;gitsync&#8221;. Install and activate the plugin. It should now show up in the left sidebar. To add a theme, enter the GitHub repo URL for your &hellip; <a href=\"http:\/\/sites.la.utexas.edu\/kb\/2022\/04\/12\/using-git-sync-wp\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":700,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8441","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/8441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/users\/700"}],"replies":[{"embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/comments?post=8441"}],"version-history":[{"count":4,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/8441\/revisions"}],"predecessor-version":[{"id":8526,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/8441\/revisions\/8526"}],"wp:attachment":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/media?parent=8441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/categories?post=8441"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/tags?post=8441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}