1、克隆代码库
git clone https://github.com/xxxx/xxxx.git
2、创建分支
git checkout -b test
3、更改代码
4、查看更改状态
git status
5、更改结果加入缓存区
git add .
6、提交更改
git commit -m"测试"
7、合并分支
git merge test
8、推送到远程分支
git push origin test
1、克隆代码库
git clone https://github.com/xxxx/xxxx.git
2、创建分支
git checkout -b test
3、更改代码
4、查看更改状态
git status
5、更改结果加入缓存区
git add .
6、提交更改
git commit -m"测试"
7、合并分支
git merge test
8、推送到远程分支
git push origin test