去新公司使用git都需要配置什么?
滿天的星座
滿天的星座 2017-05-02 09:41:51
0
2
618

下载了node环境和git bash。
配置user.name user.email 和ssh这些都是随便写的吗?
我通过clone把代码拉下来吗?我怎么才有权限提交啊?
一般公司都有哪几条分支?

滿天的星座
滿天的星座

reply all(2)
黄舟
  1. user.name, user.email must be your own account and email within the company. Generally, companies have internal personnel management systems, so just use this account name. Try to use a personal email within the company as well. Bar.

  2. If your company has its own Git server, you can set the ssh public key of your computer so that you don’t need to enter your account and password every time when cloning. The code must have been pulled down using the git clone command. As for whether you have permission to the git warehouse, ask your leader.

  3. Regarding Git branch management and what are the commonly used branches, I recommend you read this article: Git branch management strategy

漂亮男人

3. How many branches does an average company have?

Comprehensive efficiency and cost

    Projects with more than 2 people
  1. Regarding the establishment of branches, a master branch is used for final release, a develop branch is the main development branch, and then each person has a feature branch for development tasks. After personal development and testing is completed, it can be merged into the develop branch. Release the beat version based on the develop branch.


  2. Projects with less than 2 people
  3. One master branch is used for final release, and one develop branch is enough. During development, all development is done directly on the develop branch


  4. The main ones here are communication costs and management costs.
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!