git
安装
sudo apt-get update
git --version
配置用户名和邮箱
git config --global user.name "username"
git config --global user.email "useremail@test.com"
生成密钥
ssh-keygen -t rsa -C "useremail@test.com"
cat ~/.ssh/id_rsa.pub
Git Hooks
常用指令
git checkout -b dev
git push origin dev