從master切換到master0517的命令:
git checkout master0517
遇到錯(cuò)誤commit和push回退:
git reset --hard 98ae6024
git push origin master0517 –force
git add .
git commit –m “”
git push origin master0517
提子系統(tǒng):
gitcheckout -b master0602
git fetchgit@rnd-isourceb.huawei.com:SUB_NETWORK_PCE/ac_wan_public.gitmaster
git reset --hard FETCH_HEAD
git chreey-pick 7198298372