kubernetes HTTPS: https://github.com/admin-zoujing/K8S.git #SSH: [email protected]:admin-zoujing/K8S.git 1...或在命令行上创建一个新的存储库 echo "#kubernetes" >> README.md git init git add README.md git commit -m"first commit" git remote add origin https://github.com/admin-zoujing/K8S.git git push -u origin master 2...或从命令行推送现有存储库 git remote add origin https://github.com/admin-zoujing/K8S.git git push -u origin master 3...或从另一个存储库导入代码 您可以使用Subversion,Mercurial或TFS项目中的代码初始化此存储库。 4.保存账号和密码,git bash进入你的项目目录 git config --global credential.helper store 5.修改用户名和邮箱地址 git config --global user.name "git" git config --global user.email "[email protected]" 6.error: failed to push some refs to 'https://github.com/admin-zoujing/K8S.git' git pull --rebase origin master && git push -u origin master