Task commits #5 (https://github.com/SENATOROVAI/intro-cs/issues/5)#603
Closed
dauren-r wants to merge 2 commits intoSENATOROVAI:mainfrom
Closed
Task commits #5 (https://github.com/SENATOROVAI/intro-cs/issues/5)#603dauren-r wants to merge 2 commits intoSENATOROVAI:mainfrom
dauren-r wants to merge 2 commits intoSENATOROVAI:mainfrom
Conversation
dauren-r
commented
Apr 17, 2026
Comment on lines
+1
to
+27
| """Ответы к заданию Commits.""" | ||
|
|
||
| # 1. Опишите своими словами назначение каждого из этих типов коммитов: | ||
| # feat, fix, docs, style, refactor, test, build, ci, perf, chore. | ||
| # feat: новая функция. | ||
| # fix: исправление бага. | ||
| # docs: изменения в документации. | ||
| # style: изменения внешнего вида или форматирования кода без изменения его функциональности. | ||
| # refactor: переработка кода без новой функции и без фикса бага. | ||
| # test: изменения в тестах. | ||
| # build: изменение зависимостей, конфигурации или добавление новых инструментов. | ||
| # ci: изменение/обновление конфигурационных файлов. | ||
| # perf: улучшение производительности кода. | ||
| # chore: служебные изменения | ||
| # 2. Представьте, что вы исправили баг в функции, которая некорректно округляет числа. Сделайте фиктивный коммит и напишите для него сообщение в соответствии с Conventional Commits (используя тип fix). | ||
| # fix: fix number rounding error | ||
| # 3. Добавление новой функциональности: | ||
| # Допустим, вы реализовали новую функцию generateReport в проекте. Сделайте фиктивный коммит с типом feat, отражающий добавление этой функциональности. | ||
| # feat: add generateReport function | ||
| # 4. Модификация формата кода или стилей: | ||
| # Представьте, что вы поправили отступы и форматирование во всём проекте, не меняя логики кода. Сделайте фиктивный коммит с типом style. | ||
| # style: format code and fix indentation | ||
| # 5. Документация и тестирование: | ||
| # Сделайте фиктивный коммит с типом docs, добавляющий или улучшающий документацию для вашей новой функции. | ||
| # Сделайте фиктивный коммит с типом test, добавляющий тесты для этой же функции. | ||
| # docs: add documentation for generateReport function | ||
| # test: add tests for generateReport function. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Выполнил задание Commits #5
Closes #5