Home >Development Tools >git >Gitee uploads how many times it turns dark green
Gitee is a code hosting website based on Git warehouse and one of the leading open source community platforms in China. On Gitee, every time a user submits code to their own repository, the repository where the code resides and the user's contribution chart will be painted with a certain degree of green. This degree of green is called "green contribution", which represents the user's level of activity and contribution in the Gitee open source community.
Gitee Changes in green contribution can reflect the user's level of activity and contribution in the community. Generally speaking, if a user submits more code, its green contribution will be higher. Next, let’s discuss how much code to upload to change the green contribution from light green to dark green.
First of all, we need to make it clear that a user's green contribution is automatically calculated based on the number of submissions of each user, and it is associated with the user and the warehouse where the user is located. According to Gitee’s official introduction, the more code a user submits, the higher its green contribution will be. This involves two concepts, one is the number of submissions, and the other is the green contribution. Specifically:
On Gitee, every time a user submits code to their own warehouse, the user's number of submissions will be increased by one. Any type of submission, such as new branch, merge request, issue processing, etc., will be regarded as a submission. The number of submissions is an important part of the user's green contribution. The greater the number, the greater the change in the green contribution.
Gitee Green Contribution is an indicator that shows the degree of user activity and contribution in the Gitee platform. Its value and color are consistent with the code submitted by the user. Quantity related. Generally speaking, the higher the green contribution, the higher the user's activity and contribution in the Gitee platform.
So, how much code do we need to submit in order to change our green contribution from light green to dark green? According to Gitee, when a user has 10 or more submissions in a week (calculated weekly by default), their green contribution will change from light green to dark green.
But this is only a rough reference. A user's green contribution will also be affected by other factors, such as the activity level of the warehouse where the code is located, the importance of the code, etc. The code uploaded to Gitee should be of high quality in order to improve your green contribution.
Therefore, to make your green contribution on Gitee higher, you not only need to submit more code, but also pay attention to the quality of the code and actual contributions, so as to win more open source communities recognition and appreciation from members.
In short, the amount of code submitted by users has a great impact on the changes in Gitee's green contribution. However, we need to emphasize that only the quality of the code and actual contributions are the fundamental factors that affect the improvement of green contribution. Therefore, we should pay attention to the actual benefits of the code and the actual needs of community members while submitting the code. Only in this way can we better present ourselves in the Gitee open source community and win more trust and support.
The above is the detailed content of Gitee uploads how many times it turns dark green. For more information, please follow other related articles on the PHP Chinese website!