分支管理
创建分支
git branch <branch-name>
切换分支
git checkout <branch-name>
合并分支
git merge <branchname>
删除分支
git branchd <branch-name>
解决冲突
手动编辑冲突文件
git add <file>
远程仓库
添加远程仓库
git remote add origin <repository-url>
推送更改
git pushu origin master
拉取更新
git pull origin master
克隆仓库
git clone <repository-url>