[{"data":1,"prerenderedAt":1694},["ShallowReactive",2],{"wiki-page-/en-us/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao":3,"wiki-doc-items-/en-us/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao":1654,"language-switcher-data-/en-us/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao":1678,"wiki-i18n-paths-/en-us/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao":1693},{"id":4,"title":5,"body":6,"canonicalPath":1634,"chapter":1635,"chapterSort":1636,"date":1637,"description":30,"docI18nKey":1638,"docKey":1639,"docRoot":1640,"docTitle":1641,"extension":1642,"i18nKey":1643,"isBlogPost":1644,"isWikiDoc":1645,"isWikiIndex":1644,"layout":1646,"legacyPath":1646,"locale":1647,"localeSlug":1648,"meta":1649,"navigation":1645,"path":1634,"seo":1650,"sourcePath":1651,"sourceStem":1643,"stem":1652,"wikiDepth":38,"__hash__":1653},"content/_i18n/en-us/wiki/2023-12-29-Git教学/ch2-Git实操.md","Git in Practice",{"type":7,"value":8,"toc":1629},"minimark",[9,14,24,73,80,84,89,112,117,121,156,160,172,177,181,199,204,208,240,245,248,253,256,261,268,273,277,289,294,297,300,304,318,323,327,355,360,364,376,381,390,394,431,436,441,445,464,495,500,505,513,530,535,540,544,552,572,577,596,601,613,618,621,627,658,663,669,693,698,704,722,727,730,736,757,762,768,785,790,794,799,827,832,837,842,861,866,871,896,901,906,910,915,937,942,947,952,982,987,992,997,1010,1015,1018,1022,1036,1041,1046,1051,1056,1059,1064,1067,1072,1077,1082,1085,1090,1095,1100,1105,1138,1143,1146,1154,1159,1178,1183,1188,1193,1198,1213,1218,1223,1235,1240,1243,1251,1256,1261,1264,1267,1272,1275,1280,1285,1290,1293,1299,1304,1310,1322,1327,1333,1353,1358,1364,1376,1381,1387,1397,1402,1406,1410,1413,1417,1423,1427,1434,1438,1443,1447,1452,1457,1465,1470,1475,1478,1486,1491,1495,1500,1503,1507,1512,1515,1519,1524,1529,1533,1538,1541,1545,1550,1554,1559,1563,1568,1573,1576,1581,1586,1591,1595,1600,1605,1610,1615,1620,1625],[10,11,13],"h3",{"id":12},"environment-setup","Environment Setup",[15,16,17,21],"ol",{},[18,19,20],"li",{},"Operating System: Linux, Windows, MacOS (This tutorial uses Linux as the example)",[18,22,23],{},"Install Git",[25,26,31],"pre",{"className":27,"code":28,"language":29,"meta":30,"style":30},"language-bash shiki shiki-themes github-light github-dark","sudo apt-get update\nsudo apt-get install git\ngit --version\n","bash","",[32,33,34,50,63],"code",{"__ignoreMap":30},[35,36,39,43,47],"span",{"class":37,"line":38},"line",1,[35,40,42],{"class":41},"sScJk","sudo",[35,44,46],{"class":45},"sZZnC"," apt-get",[35,48,49],{"class":45}," update\n",[35,51,53,55,57,60],{"class":37,"line":52},2,[35,54,42],{"class":41},[35,56,46],{"class":45},[35,58,59],{"class":45}," install",[35,61,62],{"class":45}," git\n",[35,64,66,69],{"class":37,"line":65},3,[35,67,68],{"class":41},"git",[35,70,72],{"class":71},"sj4cs"," --version\n",[74,75,76],"p",{},[77,78],"img",{"alt":30,"src":79},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image2.webp",[10,81,83],{"id":82},"introduction-to-common-commands","Introduction to Common Commands",[85,86,88],"h4",{"id":87},"linux-creates-a-directory-and-enters-it","Linux creates a directory && and enters it",[25,90,92],{"className":27,"code":91,"language":29,"meta":30,"style":30},"mkdir -p hellogit\ncd hellogit\n",[32,93,94,105],{"__ignoreMap":30},[35,95,96,99,102],{"class":37,"line":38},[35,97,98],{"class":41},"mkdir",[35,100,101],{"class":71}," -p",[35,103,104],{"class":45}," hellogit\n",[35,106,107,110],{"class":37,"line":52},[35,108,109],{"class":71},"cd",[35,111,104],{"class":45},[74,113,114],{},[77,115],{"alt":30,"src":116},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image3.webp",[85,118,120],{"id":119},"set-up-git-username-and-email-must-be-set","Set up Git username and email (MUST be set!!!)",[25,122,124],{"className":27,"code":123,"language":29,"meta":30,"style":30},"git config --global user.name \"tungchiahui\"\ngit config --global user.email tungchiahui@gmail.com\n",[32,125,126,142],{"__ignoreMap":30},[35,127,128,130,133,136,139],{"class":37,"line":38},[35,129,68],{"class":41},[35,131,132],{"class":45}," config",[35,134,135],{"class":71}," --global",[35,137,138],{"class":45}," user.name",[35,140,141],{"class":45}," \"tungchiahui\"\n",[35,143,144,146,148,150,153],{"class":37,"line":52},[35,145,68],{"class":41},[35,147,132],{"class":45},[35,149,135],{"class":71},[35,151,152],{"class":45}," user.email",[35,154,155],{"class":45}," tungchiahui@gmail.com\n",[85,157,159],{"id":158},"git-initialization-making-this-folder-controlled-by-git","Git initialization (making this folder controlled by Git)",[25,161,163],{"className":27,"code":162,"language":29,"meta":30,"style":30},"git init\n",[32,164,165],{"__ignoreMap":30},[35,166,167,169],{"class":37,"line":38},[35,168,68],{"class":41},[35,170,171],{"class":45}," init\n",[74,173,174],{},[77,175],{"alt":30,"src":176},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image4.webp",[85,178,180],{"id":179},"create-a-file-view-all-files-in-the-current-folder","Create a file && view all files in the current folder",[25,182,184],{"className":27,"code":183,"language":29,"meta":30,"style":30},"touch test.md\nls\n",[32,185,186,194],{"__ignoreMap":30},[35,187,188,191],{"class":37,"line":38},[35,189,190],{"class":41},"touch",[35,192,193],{"class":45}," test.md\n",[35,195,196],{"class":37,"line":52},[35,197,198],{"class":41},"ls\n",[74,200,201],{},[77,202],{"alt":30,"src":203},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image5.webp",[85,205,207],{"id":206},"edit-the-files-text-content","Edit the file's text content.",[25,209,211],{"className":27,"code":210,"language":29,"meta":30,"style":30},"sudo apt-get update\nsudo apt-get install vim\nvim ./test.md\n",[32,212,213,221,232],{"__ignoreMap":30},[35,214,215,217,219],{"class":37,"line":38},[35,216,42],{"class":41},[35,218,46],{"class":45},[35,220,49],{"class":45},[35,222,223,225,227,229],{"class":37,"line":52},[35,224,42],{"class":41},[35,226,46],{"class":45},[35,228,59],{"class":45},[35,230,231],{"class":45}," vim\n",[35,233,234,237],{"class":37,"line":65},[35,235,236],{"class":41},"vim",[35,238,239],{"class":45}," ./test.md\n",[74,241,242],{},[77,243],{"alt":30,"src":244},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image6.webp",[74,246,247],{},"Next, press the Insert key on the keyboard to enter edit mode and type a piece of text.",[74,249,250],{},[77,251],{"alt":30,"src":252},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image7.webp",[74,254,255],{},"Press ESC to exit edit mode.",[74,257,258],{},[77,259],{"alt":30,"src":260},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image8.webp",[74,262,263,264,267],{},"Press Shift + colon, then type ",[32,265,266],{},"wq"," and press Enter to save and exit.",[74,269,270],{},[77,271],{"alt":30,"src":272},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image9.webp",[85,274,276],{"id":275},"query-the-current-files-status","Query the current file's status.",[25,278,280],{"className":27,"code":279,"language":29,"meta":30,"style":30},"git status\n",[32,281,282],{"__ignoreMap":30},[35,283,284,286],{"class":37,"line":38},[35,285,68],{"class":41},[35,287,288],{"class":45}," status\n",[74,290,291],{},[77,292],{"alt":30,"src":293},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image10.webp",[74,295,296],{},"On branch branch name",[74,298,299],{},"Untracked means the file is in the working directory.",[85,301,303],{"id":302},"stage-the-file-to-the-staging-area","Stage the file to the staging area",[25,305,307],{"className":27,"code":306,"language":29,"meta":30,"style":30},"git add test.md\n",[32,308,309],{"__ignoreMap":30},[35,310,311,313,316],{"class":37,"line":38},[35,312,68],{"class":41},[35,314,315],{"class":45}," add",[35,317,193],{"class":45},[74,319,320],{},[77,321],{"alt":30,"src":322},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image11.webp",[85,324,326],{"id":325},"commit-the-file-to-the-local-repository","Commit the file to the local repository.",[25,328,330],{"className":27,"code":329,"language":29,"meta":30,"style":30},"git commit -m \"version1\"  \n#git commit -m \"提交的信息(可以理解为是注释)\"\n",[32,331,332,349],{"__ignoreMap":30},[35,333,334,336,339,342,345],{"class":37,"line":38},[35,335,68],{"class":41},[35,337,338],{"class":45}," commit",[35,340,341],{"class":71}," -m",[35,343,344],{"class":45}," \"version1\"",[35,346,348],{"class":347},"sVt8B","  \n",[35,350,351],{"class":37,"line":52},[35,352,354],{"class":353},"sJ8bj","#git commit -m \"提交的信息(可以理解为是注释)\"\n",[74,356,357],{},[77,358],{"alt":30,"src":359},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image12.webp",[85,361,363],{"id":362},"view-the-submitted-project-version","View the submitted project version.",[25,365,367],{"className":27,"code":366,"language":29,"meta":30,"style":30},"git log\n",[32,368,369],{"__ignoreMap":30},[35,370,371,373],{"class":37,"line":38},[35,372,68],{"class":41},[35,374,375],{"class":45}," log\n",[74,377,378],{},[77,379],{"alt":30,"src":380},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image13.webp",[74,382,383,384,389],{},"These lines mean that user tungchiahui (email: ",[385,386,388],"a",{"href":387},"mailto:tungchiahui@gmail.com","tungchiahui@gmail.com",") committed a project version annotated as \"version1\" to the master branch on Saturday, December 30, 2023 at 00:42:47.",[85,391,393],{"id":392},"you-can-try-modifying-the-file-content-and-then-commit-again","You can try modifying the file content and then commit again.",[25,395,397],{"className":27,"code":396,"language":29,"meta":30,"style":30},"vim test.md\ngit add test.md\ngit commit -m \"version2\"\ngit log\n",[32,398,399,405,413,424],{"__ignoreMap":30},[35,400,401,403],{"class":37,"line":38},[35,402,236],{"class":41},[35,404,193],{"class":45},[35,406,407,409,411],{"class":37,"line":52},[35,408,68],{"class":41},[35,410,315],{"class":45},[35,412,193],{"class":45},[35,414,415,417,419,421],{"class":37,"line":65},[35,416,68],{"class":41},[35,418,338],{"class":45},[35,420,341],{"class":71},[35,422,423],{"class":45}," \"version2\"\n",[35,425,427,429],{"class":37,"line":426},4,[35,428,68],{"class":41},[35,430,375],{"class":45},[74,432,433],{},[77,434],{"alt":30,"src":435},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image14.webp",[74,437,438],{},[77,439],{"alt":30,"src":440},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image15.webp",[85,442,444],{"id":443},"how-to-ignore-files-you-dont-want-to-commit","How to ignore files you don't want to commit",[15,446,447,454,461],{},[18,448,449,450,453],{},"First, create a file ",[32,451,452],{},".gitignore",".",[18,455,456,457,460],{},"Create another file ",[32,458,459],{},"top_secret_file_not_to_be_open_sourced.py"," and modify its contents.",[18,462,463],{},"Check the git status.",[25,465,467],{"className":27,"code":466,"language":29,"meta":30,"style":30},"touch .gitignore\ntouch vinci_secret.py\nvim vinci_secret.py\ngit status\n",[32,468,469,476,483,489],{"__ignoreMap":30},[35,470,471,473],{"class":37,"line":38},[35,472,190],{"class":41},[35,474,475],{"class":45}," .gitignore\n",[35,477,478,480],{"class":37,"line":52},[35,479,190],{"class":41},[35,481,482],{"class":45}," vinci_secret.py\n",[35,484,485,487],{"class":37,"line":65},[35,486,236],{"class":41},[35,488,482],{"class":45},[35,490,491,493],{"class":37,"line":426},[35,492,68],{"class":41},[35,494,288],{"class":45},[74,496,497],{},[77,498],{"alt":30,"src":499},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image16.webp",[74,501,502],{},[77,503],{"alt":30,"src":504},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image17.webp",[15,506,507],{"start":426},[18,508,509,510,512],{},"Modify the contents of ",[32,511,452],{}," by writing the names of files you do not want to be committed into that file.",[25,514,516],{"className":27,"code":515,"language":29,"meta":30,"style":30},"vim .gitignore\ngit status\n",[32,517,518,524],{"__ignoreMap":30},[35,519,520,522],{"class":37,"line":38},[35,521,236],{"class":41},[35,523,475],{"class":45},[35,525,526,528],{"class":37,"line":52},[35,527,68],{"class":41},[35,529,288],{"class":45},[74,531,532],{},[77,533],{"alt":30,"src":534},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image18.webp",[74,536,537],{},[77,538],{"alt":30,"src":539},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image19.webp",[85,541,543],{"id":542},"basic-branch-operations","Basic Branch Operations",[15,545,546,549],{},[18,547,548],{},"The role of a branch: it creates a new repository branch for a project, which is independent from other branches like master. You can perform independent add, commit, diff, and clone operations on it.",[18,550,551],{},"Create a branch",[25,553,555],{"className":27,"code":554,"language":29,"meta":30,"style":30},"git branch route2\n#git branch 分支名\n",[32,556,557,567],{"__ignoreMap":30},[35,558,559,561,564],{"class":37,"line":38},[35,560,68],{"class":41},[35,562,563],{"class":45}," branch",[35,565,566],{"class":45}," route2\n",[35,568,569],{"class":37,"line":52},[35,570,571],{"class":353},"#git branch 分支名\n",[15,573,574],{"start":65},[18,575,576],{},"Enter the branch",[25,578,580],{"className":27,"code":579,"language":29,"meta":30,"style":30},"git checkout route2\n#git checkout 分支名\n",[32,581,582,591],{"__ignoreMap":30},[35,583,584,586,589],{"class":37,"line":38},[35,585,68],{"class":41},[35,587,588],{"class":45}," checkout",[35,590,566],{"class":45},[35,592,593],{"class":37,"line":52},[35,594,595],{"class":353},"#git checkout 分支名\n",[15,597,598],{"start":426},[18,599,600],{},"Query how many branches there are, and check which branch is currently active.",[25,602,604],{"className":27,"code":603,"language":29,"meta":30,"style":30},"git branch\n",[32,605,606],{"__ignoreMap":30},[35,607,608,610],{"class":37,"line":38},[35,609,68],{"class":41},[35,611,612],{"class":45}," branch\n",[74,614,615],{},[77,616],{"alt":30,"src":617},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image20.webp",[74,619,620],{},"The current branch's files will perfectly inherit the files from the master branch.",[15,622,624],{"start":623},5,[18,625,626],{},"Delete the files under this branch.",[25,628,630],{"className":27,"code":629,"language":29,"meta":30,"style":30},"ls\nrm -rf test.md\nrm -rf vinci_secret.py\nls\n",[32,631,632,636,646,654],{"__ignoreMap":30},[35,633,634],{"class":37,"line":38},[35,635,198],{"class":41},[35,637,638,641,644],{"class":37,"line":52},[35,639,640],{"class":41},"rm",[35,642,643],{"class":71}," -rf",[35,645,193],{"class":45},[35,647,648,650,652],{"class":37,"line":65},[35,649,640],{"class":41},[35,651,643],{"class":71},[35,653,482],{"class":45},[35,655,656],{"class":37,"line":426},[35,657,198],{"class":41},[74,659,660],{},[77,661],{"alt":30,"src":662},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image21.webp",[15,664,666],{"start":665},6,[18,667,668],{},"Commit this branch to the local repository.",[25,670,672],{"className":27,"code":671,"language":29,"meta":30,"style":30},"git commit -a -m \"删库跑路\"\n#该指令是把git add和git commit指令一起写\n",[32,673,674,688],{"__ignoreMap":30},[35,675,676,678,680,683,685],{"class":37,"line":38},[35,677,68],{"class":41},[35,679,338],{"class":45},[35,681,682],{"class":71}," -a",[35,684,341],{"class":71},[35,686,687],{"class":45}," \"删库跑路\"\n",[35,689,690],{"class":37,"line":52},[35,691,692],{"class":353},"#该指令是把git add和git commit指令一起写\n",[74,694,695],{},[77,696],{"alt":30,"src":697},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image22.webp",[15,699,701],{"start":700},7,[18,702,703],{},"Check whether the branch affects other branches (switch to another branch to see the impact).",[25,705,707],{"className":27,"code":706,"language":29,"meta":30,"style":30},"git checkout master\nls\n",[32,708,709,718],{"__ignoreMap":30},[35,710,711,713,715],{"class":37,"line":38},[35,712,68],{"class":41},[35,714,588],{"class":45},[35,716,717],{"class":45}," master\n",[35,719,720],{"class":37,"line":52},[35,721,198],{"class":41},[74,723,724],{},[77,725],{"alt":30,"src":726},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image23.webp",[74,728,729],{},"It can be seen that the test.md file, which was deleted in the route2 branch, has been restored. However, the vinci_secret.py file, which was also deleted, has not been restored. This is because the file was blocked by the .gitignore file during the commit and was never submitted to the local repository.",[15,731,733],{"start":732},8,[18,734,735],{},"Delete branch",[25,737,739],{"className":27,"code":738,"language":29,"meta":30,"style":30},"git branch -D route2\n#git branch -D 分支名\n",[32,740,741,752],{"__ignoreMap":30},[35,742,743,745,747,750],{"class":37,"line":38},[35,744,68],{"class":41},[35,746,563],{"class":45},[35,748,749],{"class":71}," -D",[35,751,566],{"class":45},[35,753,754],{"class":37,"line":52},[35,755,756],{"class":353},"#git branch -D 分支名\n",[74,758,759],{},[77,760],{"alt":30,"src":761},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image24.webp",[15,763,765],{"start":764},9,[18,766,767],{},"Create a branch and switch to it immediately.",[25,769,771],{"className":27,"code":770,"language":29,"meta":30,"style":30},"git checkout -b route3\n",[32,772,773],{"__ignoreMap":30},[35,774,775,777,779,782],{"class":37,"line":38},[35,776,68],{"class":41},[35,778,588],{"class":45},[35,780,781],{"class":71}," -b",[35,783,784],{"class":45}," route3\n",[74,786,787],{},[77,788],{"alt":30,"src":789},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image25.webp",[85,791,793],{"id":792},"merging-branches","Merging branches",[15,795,796],{},[18,797,798],{},"Modify the file content in the route3 branch and commit it.",[25,800,802],{"className":27,"code":801,"language":29,"meta":30,"style":30},"vim test.md\ngit commit -am \"route3 version3\"\n#-a -m也可以被省略成-am\n",[32,803,804,810,822],{"__ignoreMap":30},[35,805,806,808],{"class":37,"line":38},[35,807,236],{"class":41},[35,809,193],{"class":45},[35,811,812,814,816,819],{"class":37,"line":52},[35,813,68],{"class":41},[35,815,338],{"class":45},[35,817,818],{"class":71}," -am",[35,820,821],{"class":45}," \"route3 version3\"\n",[35,823,824],{"class":37,"line":65},[35,825,826],{"class":353},"#-a -m也可以被省略成-am\n",[74,828,829],{},[77,830],{"alt":30,"src":831},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image26.webp",[74,833,834],{},[77,835],{"alt":30,"src":836},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image27.webp",[15,838,839],{"start":52},[18,840,841],{},"Switch to the master branch.",[25,843,845],{"className":27,"code":844,"language":29,"meta":30,"style":30},"git checkout master\nvim test.md\n",[32,846,847,855],{"__ignoreMap":30},[35,848,849,851,853],{"class":37,"line":38},[35,850,68],{"class":41},[35,852,588],{"class":45},[35,854,717],{"class":45},[35,856,857,859],{"class":37,"line":52},[35,858,236],{"class":41},[35,860,193],{"class":45},[74,862,863],{},[77,864],{"alt":30,"src":865},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image28.webp",[15,867,868],{"start":65},[18,869,870],{},"Merge the route3 branch into the current branch.",[25,872,874],{"className":27,"code":873,"language":29,"meta":30,"style":30},"git merge route3\n#git merge 被合并的分支名\nvim test.md\n",[32,875,876,885,890],{"__ignoreMap":30},[35,877,878,880,883],{"class":37,"line":38},[35,879,68],{"class":41},[35,881,882],{"class":45}," merge",[35,884,784],{"class":45},[35,886,887],{"class":37,"line":52},[35,888,889],{"class":353},"#git merge 被合并的分支名\n",[35,891,892,894],{"class":37,"line":65},[35,893,236],{"class":41},[35,895,193],{"class":45},[74,897,898],{},[77,899],{"alt":30,"src":900},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image29.webp",[74,902,903],{},[77,904],{"alt":30,"src":905},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image30.webp",[85,907,909],{"id":908},"merge-conflict-in-branch","Merge conflict in branch",[15,911,912],{},[18,913,914],{},"Add a line of content to master and commit it.",[25,916,918],{"className":27,"code":917,"language":29,"meta":30,"style":30},"vim test.md\ngit commit -am \"master version4\"\n",[32,919,920,926],{"__ignoreMap":30},[35,921,922,924],{"class":37,"line":38},[35,923,236],{"class":41},[35,925,193],{"class":45},[35,927,928,930,932,934],{"class":37,"line":52},[35,929,68],{"class":41},[35,931,338],{"class":45},[35,933,818],{"class":71},[35,935,936],{"class":45}," \"master version4\"\n",[74,938,939],{},[77,940],{"alt":30,"src":941},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image31.webp",[74,943,944],{},[77,945],{"alt":30,"src":946},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image32.webp",[15,948,949],{"start":52},[18,950,951],{},"Switch to the route3 branch, add content, and commit.",[25,953,955],{"className":27,"code":954,"language":29,"meta":30,"style":30},"git checkout route3\nvim test.md\ngit commit -am \"route3 version4\"\n",[32,956,957,965,971],{"__ignoreMap":30},[35,958,959,961,963],{"class":37,"line":38},[35,960,68],{"class":41},[35,962,588],{"class":45},[35,964,784],{"class":45},[35,966,967,969],{"class":37,"line":52},[35,968,236],{"class":41},[35,970,193],{"class":45},[35,972,973,975,977,979],{"class":37,"line":65},[35,974,68],{"class":41},[35,976,338],{"class":45},[35,978,818],{"class":71},[35,980,981],{"class":45}," \"route3 version4\"\n",[74,983,984],{},[77,985],{"alt":30,"src":986},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image33.webp",[74,988,989],{},[77,990],{"alt":30,"src":991},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image34.webp",[15,993,994],{"start":65},[18,995,996],{},"Merge branch",[25,998,1000],{"className":27,"code":999,"language":29,"meta":30,"style":30},"git merge master\n",[32,1001,1002],{"__ignoreMap":30},[35,1003,1004,1006,1008],{"class":37,"line":38},[35,1005,68],{"class":41},[35,1007,882],{"class":45},[35,1009,717],{"class":45},[74,1011,1012],{},[77,1013],{"alt":30,"src":1014},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image35.webp",[74,1016,1017],{},"A content conflict has occurred. You need to manually resolve the text conflict! Alternatively, other methods can also solve it — you can search Baidu for help.",[85,1019,1021],{"id":1020},"remote-repository-github","Remote repository GitHub",[15,1023,1024,1033],{},[18,1025,1026,1027],{},"Open the GitHub official website: ",[385,1028,1032],{"href":1029,"rel":1030},"https://github.com(%E5%A6%82%E6%9E%9C%E4%BD%A0%E6%89%93%E4%B8%8D%E5%BC%80%EF%BC%8C%E8%AF%B7%E8%87%AA%E5%B7%B1%E6%89%BE%E5%8A%9E%E6%B3%95%E6%89%93%E5%BC%80)",[1031],"nofollow","https://github.com(如果你打不开，请自己找办法打开)",[18,1034,1035],{},"Register and log in to your account.",[74,1037,1038],{},[77,1039],{"alt":30,"src":1040},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image36.webp",[15,1042,1043],{"start":65},[18,1044,1045],{},"Create a new remote repository",[74,1047,1048],{},[77,1049],{"alt":30,"src":1050},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image37.webp",[74,1052,1053],{},[77,1054],{"alt":30,"src":1055},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image38.webp",[74,1057,1058],{},"It is recommended to configure this interface in detail, but since this is a demo, only the repository name has been set, and all other options remain at their default values.",[74,1060,1061],{},[77,1062],{"alt":30,"src":1063},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image39.webp",[74,1065,1066],{},"If the image above appears, it means the creation was successful.",[15,1068,1069],{"start":426},[18,1070,1071],{},"Create a file and commit it.",[74,1073,1074],{},[77,1075],{"alt":30,"src":1076},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image40.webp",[74,1078,1079],{},[77,1080],{"alt":30,"src":1081},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image41.webp",[74,1083,1084],{},"Fill in the file name and file content, then click the green button to submit. You can also fill in a commit comment.",[74,1086,1087],{},[77,1088],{"alt":30,"src":1089},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image42.webp",[74,1091,1092],{},[77,1093],{"alt":30,"src":1094},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image43.webp",[15,1096,1097],{"start":623},[18,1098,1099],{},"Clone the remote repository to your local machine.",[74,1101,1102],{},[77,1103],{"alt":30,"src":1104},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image44.webp",[25,1106,1108],{"className":27,"code":1107,"language":29,"meta":30,"style":30},"cd\nmkdir repo_floder\ncd repo_floder\ngit clone https://github.com/tungchiahui/test_repo.git\n",[32,1109,1110,1115,1122,1128],{"__ignoreMap":30},[35,1111,1112],{"class":37,"line":38},[35,1113,1114],{"class":71},"cd\n",[35,1116,1117,1119],{"class":37,"line":52},[35,1118,98],{"class":41},[35,1120,1121],{"class":45}," repo_floder\n",[35,1123,1124,1126],{"class":37,"line":65},[35,1125,109],{"class":71},[35,1127,1121],{"class":45},[35,1129,1130,1132,1135],{"class":37,"line":426},[35,1131,68],{"class":41},[35,1133,1134],{"class":45}," clone",[35,1136,1137],{"class":45}," https://github.com/tungchiahui/test_repo.git\n",[74,1139,1140],{},[77,1141],{"alt":30,"src":1142},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image45.webp",[74,1144,1145],{},"If you encounter an error, please check whether you can access GitHub normally!",[74,1147,1148,1151],{},[77,1149],{"alt":30,"src":1150},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image46.webp",[77,1152],{"alt":30,"src":1153},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image47.webp",[15,1155,1156],{"start":665},[18,1157,1158],{},"Modify the file content.",[25,1160,1162],{"className":27,"code":1161,"language":29,"meta":30,"style":30},"cd test_repo\nvim test1.md\n",[32,1163,1164,1171],{"__ignoreMap":30},[35,1165,1166,1168],{"class":37,"line":38},[35,1167,109],{"class":71},[35,1169,1170],{"class":45}," test_repo\n",[35,1172,1173,1175],{"class":37,"line":52},[35,1174,236],{"class":41},[35,1176,1177],{"class":45}," test1.md\n",[74,1179,1180],{},[77,1181],{"alt":30,"src":1182},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image48.webp",[74,1184,1185],{},[77,1186],{"alt":30,"src":1187},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image49.webp",[74,1189,1190],{},[77,1191],{"alt":30,"src":1192},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image50.webp",[15,1194,1195],{"start":700},[18,1196,1197],{},"Check which remote repositories this local repository is connected to.",[25,1199,1201],{"className":27,"code":1200,"language":29,"meta":30,"style":30},"git remote -v\n",[32,1202,1203],{"__ignoreMap":30},[35,1204,1205,1207,1210],{"class":37,"line":38},[35,1206,68],{"class":41},[35,1208,1209],{"class":45}," remote",[35,1211,1212],{"class":71}," -v\n",[74,1214,1215],{},[77,1216],{"alt":30,"src":1217},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image51.webp",[15,1219,1220],{"start":732},[18,1221,1222],{},"Push the local repository to the remote repository.",[25,1224,1226],{"className":27,"code":1225,"language":29,"meta":30,"style":30},"git push\n",[32,1227,1228],{"__ignoreMap":30},[35,1229,1230,1232],{"class":37,"line":38},[35,1231,68],{"class":41},[35,1233,1234],{"class":45}," push\n",[74,1236,1237],{},[77,1238],{"alt":30,"src":1239},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image52.webp",[74,1241,1242],{},"Here you need to enter your GitHub username and password. The username is your GitHub username, but the password is your GitHub user token. The steps to generate a token are as follows:",[74,1244,1245,1248],{},[77,1246],{"alt":30,"src":1247},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image53.webp",[77,1249],{"alt":30,"src":1250},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image54.webp",[74,1252,1253],{},[77,1254],{"alt":30,"src":1255},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image55.webp",[74,1257,1258],{},[77,1259],{"alt":30,"src":1260},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image56.webp",[74,1262,1263],{},"Note can be filled in arbitrarily; for the expiration date, select \"No expiration date.\"",[74,1265,1266],{},"Check all the boxes below that can be checked — these are the permissions.",[74,1268,1269],{},[77,1270],{"alt":30,"src":1271},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image57.webp",[74,1273,1274],{},"Copy the token and paste it into the password field (the token will be hidden when typed in the terminal; just press Enter after entering it).",[74,1276,1277],{},[77,1278],{"alt":30,"src":1279},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image58.webp",[15,1281,1282],{"start":764},[18,1283,1284],{},"View the remote repository",[74,1286,1287],{},[77,1288],{"alt":30,"src":1289},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image59.webp",[74,1291,1292],{},"The file has been modified!",[15,1294,1296],{"start":1295},10,[18,1297,1298],{},"Modify the content of the remote repository.",[74,1300,1301],{},[77,1302],{"alt":30,"src":1303},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image60.webp",[15,1305,1307],{"start":1306},11,[18,1308,1309],{},"Pull the remote repository content to the local repository.",[25,1311,1313],{"className":27,"code":1312,"language":29,"meta":30,"style":30},"git fetch\n",[32,1314,1315],{"__ignoreMap":30},[35,1316,1317,1319],{"class":37,"line":38},[35,1318,68],{"class":41},[35,1320,1321],{"class":45}," fetch\n",[74,1323,1324],{},[77,1325],{"alt":30,"src":1326},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image61.webp",[15,1328,1330],{"start":1329},12,[18,1331,1332],{},"View the differences between the local and remote repositories.",[25,1334,1336],{"className":27,"code":1335,"language":29,"meta":30,"style":30},"git diff origin/main\n#git diff 远程仓库名/分支名\n",[32,1337,1338,1348],{"__ignoreMap":30},[35,1339,1340,1342,1345],{"class":37,"line":38},[35,1341,68],{"class":41},[35,1343,1344],{"class":45}," diff",[35,1346,1347],{"class":45}," origin/main\n",[35,1349,1350],{"class":37,"line":52},[35,1351,1352],{"class":353},"#git diff 远程仓库名/分支名\n",[74,1354,1355],{},[77,1356],{"alt":30,"src":1357},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image62.webp",[15,1359,1361],{"start":1360},13,[18,1362,1363],{},"If the content is fine, you can sync the remote repository to the workspace.",[25,1365,1367],{"className":27,"code":1366,"language":29,"meta":30,"style":30},"git pull\n",[32,1368,1369],{"__ignoreMap":30},[35,1370,1371,1373],{"class":37,"line":38},[35,1372,68],{"class":41},[35,1374,1375],{"class":45}," pull\n",[74,1377,1378],{},[77,1379],{"alt":30,"src":1380},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image63.webp",[15,1382,1384],{"start":1383},14,[18,1385,1386],{},"View the project modification history.",[25,1388,1389],{"className":27,"code":366,"language":29,"meta":30,"style":30},[32,1390,1391],{"__ignoreMap":30},[35,1392,1393,1395],{"class":37,"line":38},[35,1394,68],{"class":41},[35,1396,375],{"class":45},[74,1398,1399],{},[77,1400],{"alt":30,"src":1401},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image64.webp",[10,1403,1405],{"id":1404},"vscode-git","VScode + Git",[85,1407,1409],{"id":1408},"what-is-vscode","What is VScode?",[74,1411,1412],{},"VScode is a text editor, similar to editors like Vim, but it has a graphical interface, a wide variety of useful plugins, and can integrate a compiler environment. Ultimately, it can be customized by users into an IDE like Visual Studio.",[85,1414,1416],{"id":1415},"vscode-official-website","VScode official website:",[74,1418,1419],{},[385,1420,1421],{"href":1421,"rel":1422},"https://code.visualstudio.com/",[1031],[85,1424,1426],{"id":1425},"tutorial-setting-up-a-c-environment-on-linux","Tutorial: Setting Up a C++ Environment on Linux",[74,1428,1429],{},[385,1430,1433],{"href":1431,"rel":1432},"https://sdutvincirobot.feishu.cn/docx/ANgFdRtvKoCcKDxZ2ehc5Rocnwh",[1031],"Linux C++ Compilation Environment Setup",[85,1435,1437],{"id":1436},"create-a-folder-and-open-vscode-in-that-folder","Create a folder and open VSCode in that folder.",[74,1439,1440],{},[77,1441],{"alt":30,"src":1442},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image65.webp",[85,1444,1446],{"id":1445},"create-a-new-file","Create a new file",[74,1448,1449],{},[77,1450],{"alt":30,"src":1451},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image66.webp",[74,1453,1454],{},[77,1455],{"alt":30,"src":1456},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image67.webp",[85,1458,1460,1461,1464],{"id":1459},"initialize-git-similar-to-the-git-init-command","Initialize Git (similar to the ",[32,1462,1463],{},"git init"," command)",[74,1466,1467],{},[77,1468],{"alt":30,"src":1469},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image68.webp",[74,1471,1472],{},[77,1473],{"alt":30,"src":1474},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image69.webp",[74,1476,1477],{},"U stands for untracked status, meaning the file is still in the working directory.",[85,1479,1481,1482,1485],{"id":1480},"stage-the-file-similar-to-git-add","Stage the file (similar to ",[32,1483,1484],{},"git add",")",[74,1487,1488],{},[77,1489],{"alt":30,"src":1490},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image70.webp",[85,1492,1494],{"id":1493},"to-cancel-staging-click-the-minus-sign-this-does-not-cancel","To cancel staging, click the minus sign (this does not cancel).",[74,1496,1497],{},[77,1498],{"alt":30,"src":1499},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image71.webp",[74,1501,1502],{},"A is \"added,\" meaning it is in the staging area.",[85,1504,1506],{"id":1505},"submit-similar-to-commit","Submit (similar to commit)",[74,1508,1509],{},[77,1510],{"alt":30,"src":1511},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image72.webp",[74,1513,1514],{},"Enter the commit message and click the checkmark to commit.",[85,1516,1518],{"id":1517},"create-a-new-branch-and-switch-to-it","Create a new branch and switch to it.",[74,1520,1521],{},[77,1522],{"alt":30,"src":1523},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image73.webp",[74,1525,1526],{},[77,1527],{"alt":30,"src":1528},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image74.webp",[85,1530,1532],{"id":1531},"modified-content","Modified content",[74,1534,1535],{},[77,1536],{"alt":30,"src":1537},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image75.webp",[74,1539,1540],{},"Display M as modified status",[85,1542,1544],{"id":1543},"view-historical-version-comparison-click-on-file","View historical version comparison (click on file)",[74,1546,1547],{},[77,1548],{"alt":30,"src":1549},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image76.webp",[85,1551,1553],{"id":1552},"submit","Submit",[74,1555,1556],{},[77,1557],{"alt":30,"src":1558},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image77.webp",[85,1560,1562],{"id":1561},"switch-back-to-the-main-branch","Switch back to the main branch.",[74,1564,1565],{},[77,1566],{"alt":30,"src":1567},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image78.webp",[74,1569,1570],{},[77,1571],{"alt":30,"src":1572},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image79.webp",[85,1574,996],{"id":1575},"merge-branch",[74,1577,1578],{},[77,1579],{"alt":30,"src":1580},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image80.webp",[74,1582,1583],{},[77,1584],{"alt":30,"src":1585},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image81.webp",[74,1587,1588],{},[77,1589],{"alt":30,"src":1590},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image82.webp",[85,1592,1594],{"id":1593},"push-to-the-remote-github-repository","Push to the remote GitHub repository",[15,1596,1597],{},[18,1598,1599],{},"Please provide the Markdown fragment you'd like me to translate.",[74,1601,1602],{},[77,1603],{"alt":30,"src":1604},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image83.webp",[74,1606,1607],{},[77,1608],{"alt":30,"src":1609},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image84.webp",[15,1611,1612],{"start":52},[18,1613,1614],{},"Open the GitHub repository to view it.",[74,1616,1617],{},[77,1618],{"alt":30,"src":1619},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image85.webp",[74,1621,1622],{},[77,1623],{"alt":30,"src":1624},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2023/12/29/image86.webp",[1626,1627,1628],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":30,"searchDepth":52,"depth":52,"links":1630},[1631,1632,1633],{"id":12,"depth":65,"text":13},{"id":82,"depth":65,"text":83},{"id":1404,"depth":65,"text":1405},"/en-us/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao","2",2000000,"2023-12-29","wiki/2023-12-29-git-jiao-xue","en-us:2023-12-29-git-jiao-xue","/en-us/wiki/2023-12-29-git-jiao-xue","Git教学","md","wiki/2023-12-29-Git教学/ch2-Git实操",false,true,null,"en-US","en-us",{},{"title":5,"description":30},"/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao","_i18n/en-us/wiki/2023-12-29-Git教学/ch2-Git实操","xyP63BChqa_gRqJyOLBXLntAw8DwFNXWRqJYG95oz7s",[1655,1661,1662,1668,1674],{"path":1656,"stem":1657,"title":1658,"date":1637,"chapter":1659,"chapterSort":1660,"docKey":1639,"docRoot":1640,"docTitle":1641,"isWikiDoc":1645,"isWikiIndex":1644},"/en-us/wiki/2023-12-29-git-jiao-xue/ch1-git-jian-jie","_i18n/en-us/wiki/2023-12-29-Git教学/ch1-Git简介","Introduction to Git","1",1000000,{"path":1634,"stem":1652,"title":5,"date":1637,"chapter":1635,"chapterSort":1636,"docKey":1639,"docRoot":1640,"docTitle":1641,"isWikiDoc":1645,"isWikiIndex":1644},{"path":1663,"stem":1664,"title":1665,"date":1637,"chapter":1666,"chapterSort":1667,"docKey":1639,"docRoot":1640,"docTitle":1641,"isWikiDoc":1645,"isWikiIndex":1644},"/en-us/wiki/2023-12-29-git-jiao-xue/ch3-gao-ji-gong-ju","_i18n/en-us/wiki/2023-12-29-Git教学/ch3-高级工具","Advanced Tools","3",3000000,{"path":1669,"stem":1670,"title":1671,"date":1637,"chapter":1672,"chapterSort":1673,"docKey":1639,"docRoot":1640,"docTitle":1641,"isWikiDoc":1645,"isWikiIndex":1644},"/en-us/wiki/2023-12-29-git-jiao-xue/ch4-chang-jian-wen-ti","_i18n/en-us/wiki/2023-12-29-Git教学/ch4-常见问题","Frequently Asked Questions","4",4000000,{"path":1640,"stem":1675,"title":1676,"date":1637,"chapter":1646,"chapterSort":1677,"docKey":1639,"docRoot":1640,"docTitle":1641,"isWikiDoc":1645,"isWikiIndex":1645},"_i18n/en-us/wiki/2023-12-29-Git教学/index","Git tutorial",0,{"variants":1679},[1680,1681,1684,1687,1690],{"path":1634,"localeSlug":1648,"i18nKey":1643},{"path":1682,"localeSlug":1683,"i18nKey":1643},"/zh-hant/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao","zh-hant",{"path":1685,"localeSlug":1686,"i18nKey":1643},"/zh-hk/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao","zh-hk",{"path":1688,"localeSlug":1689,"i18nKey":1643},"/zh-tw/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao","zh-tw",{"path":1691,"localeSlug":1692,"i18nKey":1643},"/zh-cn/wiki/2023-12-29-git-jiao-xue/ch2-git-shi-cao","zh-cn",[1634,1651,1682,1651,1685,1651,1688,1651,1691,1651],1780671808276]