const__pageData=JSON.parse('{"title":"How to Use GitHub with QMK","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started_github.md","filePath":"getting_started_github.md"}');
const_hoisted_1=/* @__PURE__ */createStaticVNode('<h1id="how-to-use-github-with-qmk"tabindex="-1">HowtoUseGitHubwithQMK<aclass="header-anchor"href="#how-to-use-github-with-qmk"aria-label="Permalink to "How to Use GitHub with QMK""></a></h1><p>GitHubcanbealittletrickytothosethataren'tfamiliarwithit-thisguidewillwalkthrougheachstepofforking,cloning,andsubmittingapullrequestwithQMK.</p><divclass="tipcustom-block"><pclass="custom-block-title">TIP</p><p>Thisguideassumesyou'resomewhatcomfortablewithrunningthingsatthecommandline,andhavegitinstalledonyoursystem.</p></div><p>Startonthe<ahref="https://github.com/qmk/qmk_firmware"target="_blank"rel="noreferrer">QMKGitHubpage</a>,andyou'llseeabuttonintheupperrightthatsays"Fork":</p><p><imgsrc="https://i.imgur.com/8Toomz4.jpg"alt="ForkonGitHub"></p><p>Ifyou'reapartofanorganization,you'llneedtochoosewhichaccounttoforkitto.Inmostcircumstances,you'llwanttoforkittoyourpersonalaccount.Onceyourforkiscompleted(sometimesthistakesalittlewhile),clickthe"CloneorDownload"button:</p><p><imgsrc="https://i.imgur.com/N1NYcSz.jpg"alt="DownloadfromGitHub"></p><p>Andbesuretoselect"HTTPS",andselectthelinkandcopyit:</p><p><imgsrc="https://i.imgur.com/eGO0ohO.jpg"alt="HTTPSlink"></p><p>Fromhere,enter<code>gitclone--recurse-submodules</code>intothecommandline,andthenpasteyourlink:</p><divclass="language-vp-adaptive-theme"><buttontitle="CopyCode"class="copy"></button><spanclass="lang"></span><preclass="shikishiki-themesgithub-lightgithub-darkvp-code"><code><spanclass="line"><span>user@computer:~$gitclone--recurse-submoduleshttps://github.com/whoeveryouare/qmk_firmware.git</span></span>\n<spanclass="line"><span>Cloninginto'qmk_firmware'...</span></span>\n<spanclass="line"><span>remote:Enumeratingobjects:9,done.</span></span>\n<spanclass="line"><span>remote:Countingobjects:100%(9/9),done.</span></span>\n<spanclass="line"><span>remote:Compressingobjects:100%(5/5),done.</span></span>\n<spanclass="line"><span>remote:Total183883(delta5),reused4(delta4),pack-reused183874</span></span>\n<spanclass="line"><span>Receivingobjects:100%(183883/183883),132.90MiB|9.57MiB/s,done.</span></span>\n<spanclass="line"><span>Resolvingdeltas:100%(119972/119972),done.</span></span>\n<spanclass="line"><span>...</span></span>\n<spanclass="line"><span>Submodulepath'lib/chibios':checkedout'587968d6cbc2b0e1c7147540872f2a67e59ca18b'</span></span>\n<spanclass="line"><span>Submodulepath'lib/chibios-contrib':checkedout'ede48346eee4b8d6847c19bc01420bee76a5e486'</span></span>\n<spanclass="line"><span>Submodulepath'lib/googletest':checkedout'ec44c6c1675c25b9827aacd08c02433cccde7780'</span></span>\n<spanclass="line"><span>Submodulepath'lib/lufa':checkedout'ce10f7642b0459e409839b23cc91498945119b4d'</span></span></code></pre></div><p>YounowhaveyourQMKforkonyourlocalmachine,andyoucanaddyourkeymap,compileitandflashittoyourboard.Onceyou'rehappywithyourchanges,youcanadd,commit,andpushthemtoyourforklikethis:</p><divclass="language-vp-adaptive-theme"><buttontitle="CopyCode"class="copy"></button><spanclass="lang"></span><preclass="shikishiki-themesgithub-lightgithub-darkvp-code"><code><spanclass="line"><span>user@computer:~$gitadd.</span></span>\n<spanclass="line"><span>user@computer:~$gitcommit-m"addingmykeymap"</span></span>\n<spanclass="line"><span>[mastercccb1608]addingmykeymap</span></span>\n<spanclass="line"><span>1filechanged,1insertion(+)</span></span>\n<spanclass="line"><span>createmode100644keyboards/planck/keymaps/mine/keymap.c</span></span>\n<spanclass="line"><span>user@computer:~$gitpush</span></span>\n<spanclass="line"><span>Countingobjects:1,done.</sp