Our company’s project code management uses Git for version control, which uses git rebase
and gitlab’s merge request. They say that git rebase
can make submission records linear and other benefits. I want to know about your company. What does the Git process look like? Can you explain in detail the complete process of the next commit?
阿神2017-05-02 09:45:25
git status detection
git pull new code--conflict modification
git add .
commit
push
PHP中文网2017-05-02 09:45:25
Our company uses github. Every time we modify or add code, we create a branch (feature branch) and push it to the remote. Initiate a pull request. Others review->approve. Then merge it to master yourself. Finally delete this remote branch.