一、git上传项目 1、gitinit 2、gitadd. 3、gitstatus 4、链接地址 gitremoteaddoriginhttps://github.com/xxx.git 5、上传文件 gitpull--rebaseoriginmaster,再用gitpushoriginmaster(仓库带Readme.md) gitpush-uoriginmaster(GitHub上空仓库,没有Readme.md) 二、切换main分支 6、gitclonehttps://github.com/xxx.git 7、gitcheckout-bmain 8、gitpush-uoriginma...