随笔分类 - Git
摘要:Gitee 全局设置: git config --global user.name "" git config --global user.email "" 创建 git 仓库: mkdir test_zxz cd test_zxz git init touch README.md git add
阅读全文
摘要:#GIT中的操作 ###设置全局代理 git config --global http.proxy socks5://127.0.0.1:8088 git config --global http.proxy http://127.0.0.1:8088 ###设置当前代理 git config ht
阅读全文
摘要:#常用命令 从远程下载 忽略本地文件,强制覆盖 git fetch --all git reset --hard origin/master git pull 从本地推送,忽略远程,强制覆盖 git push -f origin master 设置跟踪远程分支 git branch --set-up
阅读全文