GitLab team collaboration
A member of
Creating the initial upload is complete warehouse project
A development function
Updates to the main branch (can also be incorporated in the development of the new branch)
git add . git commit -m "更新描述" git push #PS.如果是第一次更新需要使用 git push -u oringin 分支名字
Branch members agreed to merge two requests, dealing with conflict
Finally, the combined branch coverage to a local warehouse
git reset --hard HEAD
Two members
Clone project from the warehouse to the local
git clone http链接
Development Function two
Create a new branch
git branch 分支名字
Update Project to the new branch
git checkout 分支名字 #转到新分支 git add . git commit -m "更新描述" git push #PS.如果是第一次更新需要使用 git push -u oringin 分支名字
The request to join a branch (branch after the merge entire functional)
Finally, the combined branch coverage to a local warehouse
git reset --hard HEAD