git命令

基本都需要到master下面git pull.get 到最新的数据。若你的branch已经有更改的file,则需要搁置。git stash. 然后重新切换分支。

git branch:拿到当前的branch。

git checkout -b dev/v-juh/outlook_holiday: checkout到dev/v-juh/outlook_holiday branch。 if 没有这个分支,则create。

                                                                                                                                                 if 这个branch存在,就不需要-b。

                                                                     error message:

                          

 git status:

       

git add*

      

git commit -m ""

git status

git push

              

改变自己,成长自己
原文地址:https://www.cnblogs.com/xxh-2014/p/7299439.html