天天看點

gitlab代碼送出

git add .
git commit -m "update"
git pull
git merge #合并解決沖突
git push
           

開發新 項目時:

git clone
git branch dev 建立分支
git branch -a
git checkout dev 切換分支
git add .
git commit -m "
git push origin dev
           
git