脚本宝典收集整理的这篇文章主要介绍了git基本操作,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
简易的命令行入门教程:
Git 全局设置:
git config --global user.name "初心" git config --global user.email "137647337@qq.com" 创建 git 仓库:
mkdir test1 cd test1 git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/itzhangxuhui/test1.git git push -u origin master 已有仓库?
cd existing_git_repo git remote add origin https://gitee.com/itzhangxuhui/test1.git git push -u origin master
以上是脚本宝典为你收集整理的git基本操作全部内容,希望文章能够帮你解决git基本操作所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。