第一次提交
和解决方案目录一致
git init
git commit -m "first commit"
git remote add origin https://github.com.xxx.git
git push -u origin master
创建分支
git branch -a 查看
git checkout -b test创建
git push origin test -u 推送到远程
删除分支gitgit
git branch -d test 删除本地
git push origin --delete test 删除远程
合并分支
git merge test 合并到master
忽略文件
vim .gitignore https://www.jianshu.com/p/699ed86028c2