git config -- global color.status.auto
git config -- global color.diff.auto
git config -- global color.branch.auto
git config -- global interactive.auto
git 常用命令
git pull 同步服务器源码
git push 上传服务器
git status . 查看本地修改过的源码
git add files 将文件添加到暂存区
git commit 将暂存区的文件提交到当前分支
git diff file 查看文件修改的内容
git log 查看提交记录
gitk 图形界面显示
git branches 查看所有分支
git checkout 切换分支
git checkout file 放弃文件的更改
git stash
git pull
git stash pop
ssh -keygen -t rsa 生成密钥
ssh-add