命令行指令
Git初始化配置
git config --global user.name“abc”
git config --global user.email“123456789@qq.com”
创建一个新的存储库
git clone http://teamwork-HVM-domU
cd cnvd
触摸README.md
git add README.md
git commit -m“add README”
git push -u origin master
已有本地项目
cd existing_folder
git init
git remote add origin http://teamwork-HVM-domU
git add。
git commit -m“初始提交”
git push -u origin master
现有的Git存储库
cd existing_repo
git remote rename origin old-origin
git remote add origin http://teamwork-HVM-domU
git push -u origin --all
git push -u origin --tags