id: 6d0278c8dbbd4a7e91022f3b57c04e4d
parent_id: 
item_type: 1
item_id: 82724b759f0a45709e123693d6946a64
item_updated_time: 1764345511391
title_diff: "[{\"diffs\":[[1,\"VsCode使用Git上传代码至GitHub上_vscode提交代码到github-CSD\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":45}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>VsCode使用Git上传代码至GitHub上_vscode提交代码到github-CSDN博客</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"45358\\\"></a>\\\r\\\n<h1>VsCode使用Git上传代码至GitHub上_vscode提交代码到github-CSDN博客</h1>\\\r\\\n\\\r\\\n<div><span>\\\n  <div style=\\\"--en-clipped-content:article\\\"><div style=\\\"font-size: 16px; display:block; min-width: 100%; position: relative;\\\"> <div style=\\\"-webkit-tap-highlight-color:transparent;outline:0px;box-sizing:border-box;text-size-adjust:100%;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif;color:rgba(0, 0, 0, 0.75);font-variant-ligatures:common-ligatures;line-height:1.625;tab-size:4;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;\\\"><div style=\\\"font-weight:normal;outline:0px;box-sizing:inherit;font-size:14px;background:url(https://csdnimg.cn/release/blogv2/dist/pc/themesSkin/skin-1024/images/bg.gif?v20200831) repeat rgb(10, 10, 10);font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif;-webkit-font-smoothing:antialiased;font-variant-ligatures:common-ligatures;tab-size:4;line-height:1.625;color:rgba(0, 0, 0, 0.75);\\\"><div style=\\\"font-weight:normal;outline:0px;box-sizing:inherit;-webkit-box-pack:center;justify-content:center;\\\"><div style=\\\"font-weight:normal;outline:0px;box-sizing:inherit;\\\"><span style=\\\"outline:0px;box-sizing:inherit;\\\"><div style=\\\"font-weight:normal;outline:0px;box-sizing:inherit;background:rgb(255, 255, 255);border-radius:2px 2px 0px 0px;\\\"><div style=\\\"outline:0px;box-sizing:inherit;\\\"><div style=\\\"font-weight:normal;outline:0px;box-sizing:inherit;font-synthesis-style:auto;overflow-wrap:break-word;\\\"><div style=\\\"font-weight:normal;outline:0px;box-sizing:inherit;font-synthesis-style:auto;overflow-wrap:break-word;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif;-webkit-font-smoothing:antialiased;font-variant-ligatures:no-common-ligatures;word-break:break-word;font-size:16px;\\\">\\\n                    <img src=\\\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' style='display: none%3b' data-evernote-id='643' class='js-evernote-checked'%3e %3cpath stroke-linecap='round' d='M5%2c0 0%2c2.5 5%2c5z' id='raphael-marker-block' style='-webkit-tap-highlight-color: rgba(0%2c 0%2c 0%2c 0)%3b' data-evernote-id='644' class='js-evernote-checked'%3e%3c/path%3e %3c/svg%3e\\\" style=\\\"outline:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;overflow:hidden;display:none;\\\"></img>\\\n                    <h3 style=\\\"font-family:&quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, SimHei, Arial, SimSun;outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;color:rgb(79, 79, 79);margin:24px 0px 8px;font-weight:600;line-height:28px;font-size:18px;\\\"><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a><span style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;cursor:pointer;margin-right:3px;padding-right:18px;background:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../img/gitcode-key.png) right center / 14px 14px no-repeat transparent;box-shadow:none;color:rgb(78, 161, 219);\\\">VsCode</span>使用Git上传代码至<a href=\\\"https://so.csdn.net/so/search?q=GitHub&amp;spm=1001.2101.3001.7020\\\" style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;padding-left:3px;border-radius:3px;cursor:pointer;margin-right:3px;background:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../img/iconHighlight.svg) right top / 12px 14px no-repeat transparent;box-shadow:none;padding-right:14px;text-decoration:none;color:rgb(252, 85, 49);\\\" target=\\\"_blank\\\">GitHub</a>上</h3> \\\n<h4 style=\\\"font-family:&quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, SimHei, Arial, SimSun;outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;color:rgb(79, 79, 79);margin:24px 0px 8px;font-weight:600;line-height:26px;font-size:16px;\\\"><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a>一、软件安装</h4> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">1、安装Git</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">2、安装VsCode</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">Git具体安装方法见 <a href=\\\"https://blog.csdn.net/2301_80864686/article/details/134207618?spm=1001.2014.3001.5501\\\" style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\">Git的下载安装</a></p> \\\n<div style=\\\"--en-blockquote:true;\\\"><span style=\\\"color:rgba(0, 0, 0, 0.5);\\\"></span> \\\n <p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;margin-bottom:0px;font-weight:400;color:rgb(85, 86, 102);line-height:22px;font-size:16px;\\\">VsCode直接安装即可，这里不多做赘述了</p> \\\n<span style=\\\"color:rgba(0, 0, 0, 0.5);\\\"></span></div> \\\n<h4 style=\\\"font-family:&quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, SimHei, Arial, SimSun;outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;color:rgb(79, 79, 79);margin:24px 0px 8px;font-weight:600;line-height:26px;font-size:16px;\\\"><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a>二、在GitHub上创建空的仓库/项目</h4> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">1、在GitHub登录界面登录自己的账户，进入GitHub主页后，点击右上角的“+”号，选择New repository新建一个项目</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/dd88d98cc5234e4a9d4cd86a352c48c4\\\" type=\\\"image/png\\\" data-filename=\\\"ba22bd4280918efcb09db8c7cd05ed87.png\\\" height=\\\"379\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">2、在新建界面，输入项目名称，其它默认即可（描述为可选项），如图所示，点击最下面的Create repository 即可创建一个新的项目</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/060c3d462b6c4ca8bd124f0178ea8518\\\" type=\\\"image/png\\\" data-filename=\\\"55bc5b1a42486355edb2bdd6edf90a4b.png\\\" height=\\\"624\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">3、新建成功后跳出的界面显示一些基本信息以及基本的Git操作，方便测试git的克隆，我们需要在该项目中新建一个文件，点击以下蓝色字体，生成一个readme.<span style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;cursor:pointer;margin-right:3px;padding-right:18px;background:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../img/gitcode-key.png) right center / 14px 14px no-repeat transparent;box-shadow:none;color:rgb(78, 161, 219);\\\">md</span>文档</p> \\\n<div style=\\\"--en-blockquote:true;\\\"><span style=\\\"color:rgba(0, 0, 0, 0.5);\\\"></span> \\\n <p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;margin-bottom:0px;font-weight:400;color:rgb(85, 86, 102);line-height:22px;font-size:16px;\\\">也可以在新建项目时直接勾选 Add a README file 按钮，那么在新建项目的同时即可生成一个readme文件</p> \\\n<span style=\\\"color:rgba(0, 0, 0, 0.5);\\\"></span></div> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/b4ccc660ab604fd88a53a8d66b5d5edd\\\" type=\\\"image/png\\\" data-filename=\\\"786f301d501c2c8d9e9a1cf4916ca8c8.png\\\" height=\\\"379\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">4、在新弹出来的界面中输入信息，然后点击最下面的创建即可</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/76f2397ca28949c8957428baf445da2d\\\" type=\\\"image/png\\\" data-filename=\\\"da7e8681a2b501348acc792f28fd10ea.png\\\" height=\\\"676\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">5、文件生成后如下图所示</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/08c0ba65c3b84e0f9d1199b7139ab46f\\\" type=\\\"image/png\\\" data-filename=\\\"b42483a3b8f5b56580661ec3499b5503.png\\\" height=\\\"379\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<h4 style=\\\"font-family:&quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, SimHei, Arial, SimSun;outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;color:rgb(79, 79, 79);margin:24px 0px 8px;font-weight:600;line-height:26px;font-size:16px;\\\"><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a>三、Git首次安装需要进行的设置</h4> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">1、查看我的git配置列表</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">鼠标右键点击Git Bash Here，弹出git命令行终端，输入指令：git config --list，会在命令行出现当前的 git 配置内容，如下图</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/72a54248fe62443e809d2da9ab7da688\\\" type=\\\"image/jpeg\\\" data-filename=\\\"110ee5b38acc9a8b9f59e575f5d6ecbd.jpeg\\\" height=\\\"450\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"748\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">2、配置全局用户名</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">在终端命令行输入指令：<strong style=\\\"outline:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;font-weight:700;\\\">git config --global user.name “你的用户名”</strong></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">3、配置全局邮箱</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">在终端命令行输入指令：<strong style=\\\"outline:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;font-weight:700;\\\">git config --global user.email “你的邮箱”</strong></p> \\\n<div style=\\\"--en-blockquote:true;\\\"><span style=\\\"color:rgba(0, 0, 0, 0.5);\\\"></span> \\\n <p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;margin-bottom:0px;font-weight:400;color:rgb(85, 86, 102);line-height:22px;font-size:16px;\\\">注意：设置的用户名及邮箱尽量同GitHub中一致</p> \\\n<span style=\\\"color:rgba(0, 0, 0, 0.5);\\\"></span></div> \\\n<h4 style=\\\"font-family:&quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, SimHei, Arial, SimSun;outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;color:rgb(79, 79, 79);margin:24px 0px 8px;font-weight:600;line-height:26px;font-size:16px;\\\"><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a>四、通过HTTPS协议链接GitHub</h4> \\\n<h5 style=\\\"font-family:&quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, SimHei, Arial, SimSun;outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;color:rgb(79, 79, 79);margin:24px 0px 8px;font-weight:600;line-height:24px;font-size:16px;\\\"><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a>方法1-从GitHub仓库克隆代码</h5> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">1、从GitHub仓库克隆代码</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（1）打开VsCode，按快捷键“ctrl+shift+P”，然后输入git，选择克隆（clone）</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/bffc18aea03f45aeab54060ebf1b2b23\\\" type=\\\"image/png\\\" data-filename=\\\"55b64f2443edf199dc598499484fcb58.png\\\" height=\\\"461\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（2）弹出输入框，提示我们输入存储库的URL地址，我们直接去GitHub中复制仓库的HTTPS地址粘贴即可。</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/be55189f70cf47f1ac359933bdeea789\\\" type=\\\"image/png\\\" data-filename=\\\"e49aab0d31b8148dff50a8a902f17004.png\\\" height=\\\"461\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/c3f82e5fe4744bb38349349694ec481d\\\" type=\\\"image/png\\\" data-filename=\\\"f6abaab3c7bd0f4c0af8d21580de4d2f.png\\\" height=\\\"406\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（3）输入存储库URL地址确认后，会让我们选择需要克隆到本地的位置，直接选择自己放项目的文件夹即可（不要中文），确认后开始克隆，如图所示。</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/1e7d33dd54824620b96960a402bdc465\\\" type=\\\"image/png\\\" data-filename=\\\"53ffc49802de4da9c9f4401a0f23e265.png\\\" height=\\\"85\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"444\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（4）克隆完成后，会出现如下界面，选择打开即可，同时对应的项目文件夹里面已经存在了克隆过来的内容</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/6abbd6fbe7fa41a496ab53c6d4517124\\\" type=\\\"image/png\\\" data-filename=\\\"297c69851de825186cd70e41dfb41bb0.png\\\" height=\\\"80\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"449\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/9505f2f8ad6b4d2c8a3e9b4aa06dab75\\\" type=\\\"image/png\\\" data-filename=\\\"a36d0fc252f4b23a873d11977367666b.png\\\" height=\\\"96\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"538\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">2、在本地修改代码</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">打开项目后，我们看到如下图所示，点击文件夹管理，弹出我们克隆下来的代码，选择README.md文件，可以看到对应的文件内容，对该文件进行一些修改并保存，以便接下来测试是否可以回传到GitHub。</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">保存文件后，可以看到左侧出现了一个蓝色的1图标，点击它进入Git管理界面。</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/201c14f797a04e75acf1e641639edaee\\\" type=\\\"image/png\\\" data-filename=\\\"94c907968cdd65db5c79e76b41387c37.png\\\" height=\\\"461\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">3、Git版本管理</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（1）进入Git管理界面后，可以看到已经有了一个更改，文件的后面的字母 M 表示文件发生了更改，意味着 modified，点击该文件，如下图所示，可以看出我们对文件的更改是增加了部分内容。</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/5cb34aad49b84e2c90b370232ee16524\\\" type=\\\"image/png\\\" data-filename=\\\"44e44eb921795d8a0dc697ebaa2b4b25.png\\\" height=\\\"461\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（2）点击图标 M 左边的 + 号，可以看到如下图所示，说明我们把更改暂存了，但是此时还没有提交<br style=\\\"outline:0px;box-sizing:border-box;font-synthesis-style:auto;overflow-wrap:break-word;\\\"/> <img src=\\\":/f8f139b974854f95a02df2d41d5953cd\\\" type=\\\"image/png\\\" data-filename=\\\"dba5f806746f51dd83084f83adf1d06c.png\\\" height=\\\"356\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/1b489ff9cd6e49d9a159c4cf5aded4f4\\\" type=\\\"image/png\\\" data-filename=\\\"b1eefb83157c32897c951ac6ba817099.png\\\" height=\\\"369\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"582\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（3）按照提示，我们在箭头处填写信息，此处的信息内容为提交的备注，这里可以写修复了什么内容，写完后点击右上角的 √ 提交。</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/202fed30448b41eda77125847a234190\\\" type=\\\"image/png\\\" data-filename=\\\"649ed63cf419c76bdfc182b3c86b6a6c.png\\\" height=\\\"382\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"579\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（4）提交完成后即已经成功修改、并且把代码提交到了本地仓库。接下来我们需要把代码提交到远程仓库。</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">4、从本地仓库上传到GitHub远程仓库<br style=\\\"outline:0px;box-sizing:border-box;font-synthesis-style:auto;overflow-wrap:break-word;\\\"/> 点击如下图的箭头处，若出现登录窗口则根据具体需要进行填写即可</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/c8a41592c8ac4fcdafd1250d267187d9\\\" type=\\\"image/png\\\" data-filename=\\\"743fde632832f873ddf09f2fb741255e.png\\\" height=\\\"860\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"578\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/1c8c096a031e4a28bab1d11d957cc0e0\\\" type=\\\"image/png\\\" data-filename=\\\"90d273044d2dfce90ea7f46c30af1a96.png\\\" height=\\\"374\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"582\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">5、在GitHub远程仓库查看更改</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（1）代码已经修改了</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（2）备注信息显示为我们提交时填写的信息</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/e6da8753e7ef4427a2448f3359318314\\\" type=\\\"image/png\\\" data-filename=\\\"0a3ece30e46236beeb9e180586b23e91.png\\\" height=\\\"406\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<h5 style=\\\"font-family:&quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, SimHei, Arial, SimSun;outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;color:rgb(79, 79, 79);margin:24px 0px 8px;font-weight:600;line-height:24px;font-size:16px;\\\"><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a>方法二-使用VSCode终端提交</h5> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">终端提交代码到Github一共需要两步：提交到本地仓库 —&gt; 从本地仓库再提交到远程仓库</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">1、提交到本地仓库</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（1）首选创建一个本地仓库，即右键新建一个空文件夹，接下来在VSCode中打开终端，进入当前新建的空文件夹，进行本地仓库初始化，之后这个空文件夹里会出现一个 .git 文件夹，如下图：</p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">本地仓库初始化：\\\n    git init\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li></ul></pre> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/2fcf087154cb45228f1c2b33181b8b0d\\\" type=\\\"image/png\\\" data-filename=\\\"466dc187944059e939fa3671ef8b742f.png\\\" height=\\\"310\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/a3b4ce9136af45539aea076b24f86931\\\" type=\\\"image/png\\\" data-filename=\\\"68bfa0d0ed5dfe5b2254ca88542149de.png\\\" height=\\\"127\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/9772e83315034129a8c6aefe822a75eb\\\" type=\\\"image/png\\\" data-filename=\\\"702b2d982e10e5e33d6b48bbf980e43e.png\\\" height=\\\"343\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（2）接下来向当前文件夹里添加一些文件用于测试提交的步骤</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/a2d7ae3230e04fc78da8138f7e81fb90\\\" type=\\\"image/png\\\" data-filename=\\\"1b085483cf57517e6969944e2b7d13ff.png\\\" height=\\\"341\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">（3）现在来进行提交的操作—提交单个文件步骤</p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">提交单个文件：\\\n    git add readme.txt\\\n    git commit -m &quot;第一次提交readme&quot;\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">3</li></ul></pre> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/919715ae7cfb4d7793f1895fd8b28702\\\" type=\\\"image/png\\\" data-filename=\\\"a297b8daf17235194251a56b69642442.png\\\" height=\\\"115\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"598\\\"/></p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">提交全部文件：\\\n    git add . \\\n    git commit -m &quot;全部提交&quot;\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">3</li></ul></pre> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/d95adef482c04ecf8c7d58e8b6d3cd9d\\\" type=\\\"image/png\\\" data-filename=\\\"038ce595e7c2401c116d98c231d63fb2.png\\\" height=\\\"164\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"567\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">2、提交到远程仓库</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">本地仓库提交完毕后，就需要将内容提交到远程仓库了，如图：</p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">提交远程仓库：\\\n    git remote add origin https://github.com/LL-Elsie/git_test.git\\\n    git remote set-url origin https://github.com/LL-Elsie/git_test.git \\\n    git branch -M test1\\\n    git push -u origin test1\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">3</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">4</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">5</li></ul></pre> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/145e25064048463f85301f583d5f19e4\\\" type=\\\"image/png\\\" data-filename=\\\"9343dc012ee459f6b6fa11b2c134d33c.png\\\" height=\\\"464\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">这样就在 git_test 远程仓库新建了一个 test1 分支，并且把本地 git_test 中的文件全都推到 git_test 仓库中的 test1 分支中了。</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/1680b859eda445f9a6faef0c0014e491\\\" type=\\\"image/png\\\" data-filename=\\\"df17a72cce25db191a8ab30d5ba15d1d.png\\\" height=\\\"391\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><strong style=\\\"outline:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;font-weight:700;\\\">常用git指令</strong></p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">git branch------------------查看当前所处分支 \\\ngit checkout -b main--------在当前仓库中新建一个main分支，并切换到这个分支。 \\\ngit branch -M main----------新建一个main分支 \\\ngit checkout main-----------切换到main分支\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">3</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">4</li></ul></pre> \\\n<h4 style=\\\"font-family:&quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, SimHei, Arial, SimSun;outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;color:rgb(79, 79, 79);margin:24px 0px 8px;font-weight:600;line-height:26px;font-size:16px;\\\"><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a><a style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;cursor:pointer;background-color:transparent;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;text-decoration:none;color:rgb(78, 161, 219);\\\"></a>五、使用git上传代码至于Github（远程仓库已存在内容）</h4> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">1、该仓库下有内容更新，如图所示，打开终端，使用git进行上传</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/5c4d4e4f31174d9a93f17cdb95cf60a2\\\" type=\\\"image/png\\\" data-filename=\\\"508525c70b1ed5c10ebb66bde38c34fb.png\\\" height=\\\"414\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">2、在终端中输入命令，提交全部文件至本地仓库后，再进行提交到远程仓库，在提交远程仓库后，会出现一行错误信息：error: remote origin already exists.，如下图</p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">提交全部文件至本地仓库\\\ngit add . \\\ngit commit -m &quot;全部提交&quot;\\\ngit remote add origin https://github.com/LL-Elsie/Practice.git\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">3</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">4</li></ul></pre> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/2b7395c2de694ebb9a6fc87f16e15451\\\" type=\\\"image/png\\\" data-filename=\\\"d6329d1d630c31a3cb5cc8dad217a455.png\\\" height=\\\"414\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">3、出现该错误信息，<span style=\\\"margin:0px;padding:0px;font-weight:normal;outline:0px;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;cursor:pointer;margin-right:3px;padding-right:18px;background:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../img/gitcode-key.png) right center / 14px 14px no-repeat transparent;box-shadow:none;color:rgb(78, 161, 219);\\\">翻译</span>过来就是（致命：远程来源已经存在），此时，我们可以先 git remote -v 查看远程库信息</p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">查看远程库信息\\\ngit remote -v\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li></ul></pre> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/5b2cf437df404cd98d07db61d6a37849\\\" type=\\\"image/png\\\" data-filename=\\\"0df3a9b737fbbe76a7b311012d2bed00.png\\\" height=\\\"414\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">4、出现该问题表示远程仓库已存在，因此我们先删掉再进行链接即可，解决方法如下：</p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">删除远程仓库\\\n    git remote rm origin\\\n将远程仓库添加到分支\\\n    git remote add origin https://github.com/LL-Elsie/Practice.git\\\n重新推送\\\n    git push origin master\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">3</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">4</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">5</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">6</li></ul></pre> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/b15b062371684166826136c0ded342c3\\\" type=\\\"image/png\\\" data-filename=\\\"a88ffc943359b8bf3092d6c9b7d86277.png\\\" height=\\\"414\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/d6243e23ec1e4e48b0a2e50605daebd2\\\" type=\\\"image/png\\\" data-filename=\\\"d881b3fa5e5328b681961177b405c02a.png\\\" height=\\\"393\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">注意：若推送代码至远程仓库时，有如下报错信息：the remote end hung up unexpectedly，则是因为推送代码的大小超出了git默认的范围，可以调整git推送代码的最大值</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/324559480c974c14b4ccb1f78788944c\\\" type=\\\"image/png\\\" data-filename=\\\"603232345a49688d580a4784b35ef1f4.png\\\" height=\\\"461\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">解决办法：</p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\">找到该本地仓库下的.git文件夹里面的config文件，打开config文件，将postBuffer改为1024mb，此时重新进行推送，代码就可以成功的推送到远程仓库</p> \\\n<pre style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};border-radius:4px;background-color: #fbfaf8;border: 1px solid rgba(0,0,0,.14902);color: #333;font-size: 12px;padding: 8px;font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif;box-sizing: border-box;\\\"><span style=\\\"outline:0px;font-synthesis-style:auto;min-width:94%;font-family:&quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;box-sizing:border-box;text-size-adjust:none;display:block;overflow-x:auto;white-space:pre;font-size:14px;line-height:22px;border-radius:2px;background-color:rgb(40, 44, 52);color:rgb(171, 178, 191);user-select:none;word-break:break-all;overflow-wrap:normal;padding:0px;position:unset;\\\">[http]\\\npostBuffer = 1024288000\\\n</span><div style=\\\"font-weight:normal;outline:0px;margin:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;display:flex;position:absolute;width:100%;top:0px;left:0px;content:&quot;&quot;;height:31px;line-height:18px;background-color:inherit;border-bottom:1px solid rgb(229, 229, 229);padding:0px 16px;word-break:break-all;overflow-wrap:normal;border-color:rgb(102, 102, 102);color:rgb(255, 255, 255);\\\"><div style=\\\"font:inherit;outline:0px;cursor:pointer;overflow:visible;text-transform:none;appearance:button;font-synthesis-style:auto;box-sizing:border-box;-webkit-box-align:center;align-items:center;border-radius:4px;background-repeat:no-repeat;background-size:14px 14px;background-position:8px center;padding:0px 8px 0px 26px;font-size:14px;box-shadow:unset;position:relative;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;padding-left:26px;padding-right:0px;margin-left:auto;margin:0px;border:none;word-break:break-all;overflow-wrap:normal;left:unset;display:block;background-color:transparent;height:30px;color:inherit;font-weight:400;top:unset;right:unset;background-image:url(https://i-operation.csdnimg.cn/images/9899ea0f099e4e4e8b1fcdb918a27fcd.png);\\\">AI生成项目<span style=\\\"color:inherit;font:inherit;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;font-size:14px;cursor:pointer;text-transform:none;margin:0px 16px;display:inline-block;width:1px;height:10px;background-color:rgb(229, 229, 229);\\\"></span></div><div style=\\\"outline:0px;text-align:center;z-index:20;border-radius:4px;cursor:pointer;padding:2px 0px;font-synthesis-style:auto;box-sizing:border-box;font-size:14px;line-height:30px;font-family:-apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun;position:relative;box-shadow:unset;padding-left:18px;background-repeat:no-repeat;background-size:14px 14px;background-position:0px center;margin:0px;word-break:break-all;overflow-wrap:normal;background-image:url(https://csdnimg.cn/release/blogv2/dist/pc/css/../../../dist/pc/img/runCode/icon-copy-dark.png);left:unset;display:block;right:unset;background-color:transparent;font-weight:400;height:30px;top:unset;color:inherit;width:unset;\\\"><span style=\\\"font-size:14px;color:inherit !important;text-align:center;cursor:pointer;font-weight:400;line-height:30px;font-family:-apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;margin-top:-2px;display:block;white-space:nowrap;\\\">登录复制</span></div></div><ul style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;box-sizing:border-box;overflow:auto hidden;font-size:16px;list-style-type:disc;position:absolute;width:48px;left:0px;text-align:right;list-style:none;margin:0px;top:36px;padding:0px;background-color:rgb(40, 44, 52);word-break:break-all;overflow-wrap:normal;\\\"><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">1</li><li style=\\\"font-weight:normal;outline:0px;font-synthesis-style:auto;font-size:inherit;box-sizing:border-box;list-style-type:disc;padding:0px 8px;list-style:none;margin:0px;border-right:1px solid rgb(197, 197, 197);word-break:break-all;overflow-wrap:normal;color:rgb(153, 153, 153);\\\">2</li></ul></pre> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/7ae2c4f66dab432ca383466e01e2d67a\\\" type=\\\"image/png\\\" data-filename=\\\"27bf3bab5d8ba5700abbd43d2640a3ac.png\\\" height=\\\"399\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p> \\\n<p style=\\\"outline:0px;padding:0px;font-synthesis-style:auto;overflow-wrap:break-word;color:rgb(77, 77, 77);line-height:26px;overflow:auto hidden;box-sizing:border-box;margin:0px 0px 16px;font-weight:400;font-size:16px;\\\"><img src=\\\":/5a5cb1d3888943c2b2bb75cf4063e6da\\\" type=\\\"image/png\\\" data-filename=\\\"15c2391a30a3c0a4998b81ff91955452.png\\\" height=\\\"465\\\" style=\\\"border:0px;outline:0px;border-style:none;font-synthesis-style:auto;overflow-wrap:break-word;box-sizing:border-box;max-width:100%;margin:24px 0px;cursor:zoom-in;\\\" width=\\\"772\\\"/></p>\\\n                </div></div></div></div></span></div></div></div></div></div></div>\\\n</span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":92705}]"
metadata_diff: {"new":{"id":"82724b759f0a45709e123693d6946a64","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345767764,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:13:01.131Z
created_time: 2025-11-28T16:13:01.131Z
type_: 13