13 lines
404 B
Markdown
13 lines
404 B
Markdown
# git常用命令
|
|
|
|
```
|
|
git config --global --unset http.proxy//取消http代理
|
|
git config --global --unset https.proxy//取消https代理
|
|
git add . // 添加所有修改文件
|
|
git commit -am “” //添加所有修改文件的commit
|
|
git push origin master //上传代码到服务器
|
|
git remote rm origin //删除所有远程服务器
|
|
git remote add origin url //添加新的远程服务器
|
|
```
|
|
|