Git全局设置:
git config --global user.name "XXX" git config --global user.email "xxx@yeah.net"
创建仓库:
mkdir lzfc cd lzfc git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/xxx/lzfc.git git push -u origin master
已有仓库?
cd existing_git_repo git remote add origin https://gitee.com/xxx/lzfc.git git push -u origin master