<html>
<body>
<h4>复习知识</h4>
<pre>
git init
git add hello.txt
git commit -m "add hello.txt"
git status
git diff hello.txt
</pre>
<h4>远程仓库</h4>
<pre>
ssh-keygen -t rsa -C "xiaomeng@hust.edu.cn"
添加公钥
添加远程仓库
关联远程仓库
git remote add origin https://
取消关联
git remote rm origin
推送到远程
git push -u origin master
//第一次推送加上-u
git push origin master
</pre>
</body>
</html>
<body>
<h4>复习知识</h4>
<pre>
git init
git add hello.txt
git commit -m "add hello.txt"
git status
git diff hello.txt
</pre>
<h4>远程仓库</h4>
<pre>
ssh-keygen -t rsa -C "xiaomeng@hust.edu.cn"
添加公钥
添加远程仓库
关联远程仓库
git remote add origin https://
取消关联
git remote rm origin
推送到远程
git push -u origin master
//第一次推送加上-u
git push origin master
</pre>
</body>
</html>