1 Star 0 Fork 0

swlkk/git_笔记

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
swlkk 提交于 2021-09-20 04:11 . ..
<!doctype html>
<html>
<head>
<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>
<title>README</title>
<link rel="stylesheet" href="css/index.css">
<!-- @import url(https://gitee.com/swlkk/notes/blob/master/css/index.css) -->
</head>
<body><h4 id='简易的命令行入门教程'>简易的命令行入门教程:</h4>
<p>Git 全局设置:</p>
<pre><code>git config --global user.name &quot;swlkk&quot;
git config --global user.email &quot;1472844428@qq.com&quot;
</code></pre>
<p>创建 git 仓库:</p>
<pre><code>mkdir blog
cd blog
git init
touch README.md
git add README.md
git commit -m &quot;first commit&quot;
git remote add origin git@gitee.com:swlkk/blog.git
git push -u origin master
</code></pre>
<p>已有仓库?</p>
<pre><code>cd existing_git_repo
git remote add origin git@gitee.com:swlkk/blog.git
git push -u origin master
</code></pre>
<p>&nbsp;</p>
</body>
<style>
*{
margin:0;
padding: 0;
}
body{
padding-top: 80px;
padding-left: 80px;
background-color: rgb(235, 233, 233);
}
h4{
font-size: 24px;
}
p{
margin-top: 22px;
margin-bottom: 10px;
font-weight: 800;
font-size: 20px;
}
pre{
text-align: left;
width: auto;
background-color: rgb(24, 164, 189);
color: aliceblue;
display:inline-block;
padding: 10px;
font-size: 16px;
}
</style>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/swlkk/notes.git
git@gitee.com:swlkk/notes.git
swlkk
notes
git_笔记
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385