Fix/issue5 [TASK] Commits (https://github.com/SENATOROVAI/intro-cs/issues/5)#527
Closed
dshilin wants to merge 12 commits intoSENATOROVAI:mainfrom
Closed
Fix/issue5 [TASK] Commits (https://github.com/SENATOROVAI/intro-cs/issues/5)#527dshilin wants to merge 12 commits intoSENATOROVAI:mainfrom
dshilin wants to merge 12 commits intoSENATOROVAI:mainfrom
Conversation
closes (https://github.com/SENATOROVAI/intro-cs/issues/5) Signed-off-by: Dmitry Shilin <dmitryshilin83@gmail.com>
stokato
reviewed
Jan 23, 2026
Comment on lines
+1
to
+46
| """Модуль с практикой git команд.""" | ||
|
|
||
| # 1. Опишите своими словами назначение каждого из этих типов коммитов: | ||
| # feat, fix, docs, style, refactor, test, build, ci, perf, chore. | ||
| # feat - добавление новой функциональности | ||
| # fix - исправление ошибок | ||
| # docs - изменение документации | ||
| # style - изменение форматирования кода (пробелы, отступы и т.д.) | ||
| # refactor - рефакторинг кода (переписывание без изменения функциональности) | ||
| # test - добавление или изменение тестов | ||
| # build - изменения в системе сборки (например, файлы package.json) | ||
| # ci - изменения в конфигурации CI/CD | ||
| # perf - улучшение производительности | ||
| # chore - прочие изменения, не относящиеся к основному коду | ||
| # | ||
| # 2. Представьте, что вы исправили баг в функции, которая некорректно #округляет числа. | ||
| # | ||
| # Сделайте фиктивный коммит и напишите для него сообщение в соответствии с #Conventional Commits (используя тип fix). | ||
| # | ||
| # fix: исправлено некорректное округление чисел в функции round_number | ||
| # | ||
| # 1. Добавление новой функциональности: | ||
| # | ||
| # Допустим, вы реализовали новую функцию generateReport в проекте. | ||
| # | ||
| # Сделайте фиктивный коммит с типом feat, отражающий добавление этой функциональности | ||
| # | ||
| # feat: добавлена новая функция generateReport для создания отчетов | ||
| # | ||
| # 1. Модификация формата кода или стилей: | ||
| # | ||
| # Представьте, что вы поправили отступы и форматирование во всём проекте, не меняя логики кода. | ||
| # | ||
| # Сделайте фиктивный коммит с типом style | ||
| # | ||
| # style: исправлены отступы и форматирование кода по стандартам проекта | ||
| # | ||
| # 1. Документация и тестирование: | ||
| # | ||
| # Сделайте фиктивный коммит с типом docs, добавляющий или улучшающий документацию для вашей новой функции. | ||
| # | ||
| # docs: добавлена документация для функции generateReport | ||
| # | ||
| # Сделайте фиктивный коммит с типом test, добавляющий тесты для этой же функции. | ||
| # | ||
| # test: добавлены тесты для функции generateReport |
Member
There was a problem hiding this comment.
выделяешь нужные строки для ревью, в нужном в файле
Пишешь: сделай ревью
Потом на зеленную кнопку и пишешь слово сабмичу
Member
|
не вижу твоей ссылки на фиктивные коммиты в комментариях к этому ишью https://github.com/SENATOROVAI/intro-cs/issues/5 |
Member
Author
https://github.com/SENATOROVAI/intro-cs/issues/5#issuecomment-3793631657 |
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.
closes (https://github.com/SENATOROVAI/intro-cs/issues/5)