Git's default submission rule label when submitting code Brief description Organize feat/fix/doc/styles/revert/test/build, etc.

Git's default submission rule label when submitting code Brief description Organize feat/fix/doc/styles/revert/test/build, etc.

Table of contents

Git's default submission rule label when submitting code simply explains and organizes feat/fix/doc/styles/revert/test/build, etc.

1. Brief introduction

2. Commonly used code submission default prefix tag rules

1. feat: new function (feature)

2. fix: fix bugs

3. docs: documentation

4. style: format (changes that do not affect code operation)

5. refactor: refactoring (that is, not a new feature, nor a code change to modify a bug)

6. chore: changes in the build process or auxiliary tools

7. revert: revocation, version rollback

8. perf: performance optimization

9. test: test

10. improvement: improvement

11. build: package

12. ci: continuous integration

13. update: update


1. Brief introduction

Git (pronounced /gɪt/.) is an open source distributed version control system that can effectively and quickly handle project version management from small to very large. [1] Git is an open source version control software developed by Linus Torvalds to help manage Linux kernel development.

This section introduces that after Git's reset --hard rolls back/rolls back to the previous version code, it may be necessary to restore the rollback/rollback version due to impulse. Here is a simple way to sort out the rollback method. If there are deficiencies , welcome to point out, or if you have a better method, please leave a message.
 

2. Commonly used code submission default prefix tag rules

1. feat: new function (feature)

2. fix: fix bugs

3. docs: documentation

4. style: format (changes that do not affect code operation)

5. refactor: refactoring (that is, not a new feature, nor a code change to modify a bug)

6. chore: changes in the build process or auxiliary tools

7. revert: revocation, version rollback

8. perf: performance optimization

9. test: test

10. improvement: improvement

11. build: package

12. ci: continuous integration

13. update: update

Guess you like

Origin blog.csdn.net/u014361280/article/details/128625872