Git初始化
1. git全局设置
git config --global user.name "my name" git config --global user.email "008@qq.com"
2. 创建git仓库
mkdir spider cd spider git init touch README.md git add README.md git commit -m "first commit" git remote add origin git@gitee.com:fresh_sheng/spider.git git push -u origin "master"
3. 已有仓库
cd existing_git_repo git remote add origin git@gitee.com:fresh_sheng/spider.git git push -u origin "master"