1、从当前分支拉去一个新的分支(new_feature_name是分支名字)
git branch -b new_feature_name
2、查看分支状态
git status
3、查看git的记录
git log
4、拉新分支
git pull
5、获取分支
git fetch
6、重新回到哪个分支
git reset --hard commit_id
1、从当前分支拉去一个新的分支(new_feature_name是分支名字)
git branch -b new_feature_name
2、查看分支状态
git status
3、查看git的记录
git log
4、拉新分支
git pull
5、获取分支
git fetch
6、重新回到哪个分支
git reset --hard commit_id