text Git工作流程

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Git工作流程相关的知识,希望对你有一定的参考价值。


Git workflow
Now that you've merged origin/master into your local master branch, you're ready to contribute some work of your own. The workflow for Git collaborations typically follows this order:

1 Fetch and merge changes from the remote
2 Create a branch to work on a new project feature
3 Develop the feature on your branch and commit your work
4 Fetch and merge from the remote again (in case new commits were made while you were working)
5 Push your branch up to the remote for review

Steps 1 and 4 are a safeguard against merge conflicts, which occur when two branches contain file changes that cannot be merged with the git merge command. 

以上是关于text Git工作流程的主要内容,如果未能解决你的问题,请参考以下文章

text git的基本工作流程

text Git工作流程配置

text 将本地Git工作树与远程工作树同步

text GIT流程

大厂git工作流

git 介绍