Git全局设置
git config --global user.name "风信子" git config --global user.email "email@sample.com"
创建一个新的版本库
git clone git@git.code.tencent.com:rareloved/hbdesign.git cd hbdesign touch README.md git add README.md git commit -m "add README" git push -u origin master
现有的文件夹或Git版本库
cd existing_folder git init git remote add origin git@git.code.tencent.com:rareloved/hbdesign.git git add . git commit -m "init" git push -u origin master