创建git仓库
git init --bare blog.git
克隆远端库到本文件夹,使用git用户登录
git clone git@服务器IP:/data/wzh-blog/git-repo/blog.git
本地代码提交
git add .
git commit -m 'test'
git push
远程代码拉取
git pull
修改用户名和邮箱
git config user.name "git"
git config user.email "wuzeheng@hotmail.com"