1. 下载git代码
(1)首先下载git仓库的代码
git clone https://github.com/ShoreFlower/autoware.universe.git
(2)进入仓库
cd autoware.universe/
(3)切换分支
git checkout feature/autoware_dora
(4)查看提交历史
git log
2. 建立自己的分支并上传
(1)本地建立分支并切换到分支上
git checkout -b feature/test#表示git branch feature/test和 git checkout feature/test
(2)push feature/test
分支到远程仓库上面
git push origin feature/test
(3)查看所有的分支并且看情况删除某些分支
git branch -a #查看所有分支
git branch -D feature/test <