{"id":4329,"date":"2024-03-11T10:25:00","date_gmt":"2024-03-11T03:25:00","guid":{"rendered":"https:\/\/www.phanxuanchanh.com\/2024\/03\/11\/view-and-edit-the-source-code-of-repositories-on-github-with-github-dev\/"},"modified":"2024-03-16T12:53:00","modified_gmt":"2024-03-16T05:53:00","slug":"view-and-edit-the-source-code-of-repositories-on-github-with-github-dev","status":"publish","type":"post","link":"https:\/\/www.phanxuanchanh.com\/en\/2024\/03\/11\/view-and-edit-the-source-code-of-repositories-on-github-with-github-dev\/","title":{"rendered":"View and edit the source code of repositories on GitHub with github.dev"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The article will provide a little trick to apply when accessing GitHub repositories. If you apply this trick, it can make viewing and editing the source code of a repo on your GitHub a lot more convenient. <\/p>\n\n<p class=\"wp-block-paragraph\">To get started, I\u2019ll choose any repository on GitHub. After a while of searching, I decided to choose <strong>eShopOnContainers<\/strong> of <strong>dotnet-architecture<\/strong> as an example. <\/p>\n\n<p class=\"wp-block-paragraph\"><strong>GitHub repository link: <a href=\"https:\/\/github.com\/dotnet-architecture\/eShopOnContainers\" target=\"_blank\" rel=\"noreferrer noopener\">dotnet-architecture\/eShopOnContainers<\/a><\/strong><\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a15ab044ae0e&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a15ab044ae0e\" class=\"aligncenter size-full wp-lightbox-container\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"302\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/0d58799515ab53d50a391c2885d636dc.png?resize=706%2C302&#038;ssl=1\" loading=\"lazy\" alt=\"Dotnet-architecture's eShopOnContainers repository on GitHub.\" class=\"wp-image-4165\" srcset=\"https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/0d58799515ab53d50a391c2885d636dc.png?w=1835&amp;ssl=1 1835w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/0d58799515ab53d50a391c2885d636dc.png?resize=300%2C128&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/0d58799515ab53d50a391c2885d636dc.png?resize=1024%2C438&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/0d58799515ab53d50a391c2885d636dc.png?resize=768%2C329&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/0d58799515ab53d50a391c2885d636dc.png?resize=1536%2C657&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/0d58799515ab53d50a391c2885d636dc.png?w=1412&amp;ssl=1 1412w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\"><strong>Dotnet-architecture&#8217;s<\/strong> <strong>eShopOnContainers<\/strong> repository on GitHub.<\/figcaption><\/figure>\n<\/div>\n<p class=\"wp-block-paragraph\">Perform a domain extension transfer from <strong>.com<\/strong> to <strong>.dev<\/strong>.<\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a15ab044bb67&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a15ab044bb67\" class=\"aligncenter size-full wp-lightbox-container\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"67\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/90dcaeb6f479f82b6c8a4755c3b620aa.png?resize=576%2C67&#038;ssl=1\" loading=\"lazy\" alt=\"Change the domain ending from github.com to github.dev (done on dotnet-architecture's eShopOnContainers repository).\" class=\"wp-image-4181\" srcset=\"https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/90dcaeb6f479f82b6c8a4755c3b620aa.png?w=576&amp;ssl=1 576w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/90dcaeb6f479f82b6c8a4755c3b620aa.png?resize=300%2C35&amp;ssl=1 300w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Change the domain ending from .com to .dev.<\/figcaption><\/figure>\n<\/div><div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a15ab044c76b&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a15ab044c76b\" class=\"aligncenter size-full wp-lightbox-container\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"409\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/f5d9a77814a66964729eb40eb53dce3c.png?resize=706%2C409&#038;ssl=1\" loading=\"lazy\" alt=\"Github.dev interface (implemented on dotnet-architecture's eShopOnContainers repository).\" class=\"wp-image-4173\" srcset=\"https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/f5d9a77814a66964729eb40eb53dce3c.png?w=1702&amp;ssl=1 1702w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/f5d9a77814a66964729eb40eb53dce3c.png?resize=300%2C174&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/f5d9a77814a66964729eb40eb53dce3c.png?resize=1024%2C594&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/f5d9a77814a66964729eb40eb53dce3c.png?resize=768%2C445&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/f5d9a77814a66964729eb40eb53dce3c.png?resize=1536%2C891&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2024\/03\/f5d9a77814a66964729eb40eb53dce3c.png?w=1412&amp;ssl=1 1412w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\"><strong>Github.dev<\/strong> interface (implemented on <strong>dotnet-architecture&#8217;s<\/strong> <strong>eShopOnContainers<\/strong> repository).<\/figcaption><\/figure>\n<\/div><script type=\"text\/javascript\" src=\"https:\/\/cdnjs.buymeacoffee.com\/1.0.0\/button.prod.min.js\" data-name=\"bmc-button\" data-slug=\"phanxuanchanh\" data-color=\"#FFDD00\" data-emoji=\"\" data-font=\"Arial\" data-text=\"T\u1eb7ng t\u00f4i m\u1ed9t ly c\u00e0 ph\u00ea\" data-outline-color=\"#000000\" data-font-color=\"#000000\" data-coffee-color=\"#ffffff\" ><\/script>","protected":false},"excerpt":{"rendered":"<p>The article will provide a little trick to apply when accessing GitHub repositories. If you apply this trick, it can make viewing and editing the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3306,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[600],"tags":[640,639],"quality_rating":[680],"class_list":["post-4329","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","tag-github-en","tag-github-and-vs-code","quality_rating-ok"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.phanxuanchanh.com\/wp-content\/uploads\/2021\/04\/github.png?fit=719%2C397&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/posts\/4329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/comments?post=4329"}],"version-history":[{"count":4,"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/posts\/4329\/revisions"}],"predecessor-version":[{"id":4342,"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/posts\/4329\/revisions\/4342"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/media\/3306"}],"wp:attachment":[{"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/media?parent=4329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/categories?post=4329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/tags?post=4329"},{"taxonomy":"quality_rating","embeddable":true,"href":"https:\/\/www.phanxuanchanh.com\/en\/wp-json\/wp\/v2\/quality_rating?post=4329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}