You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git checkout -b EDW-1234-task_short_name
=>
Switched to a new branch 'EDW-1234-task_short_name'
Правила именования веток:
git push -f origin EDW-1234-task_short_name
^^^^^^^^ - команда
^^ - ключ
^^^^^ - сервер
^^^^^^^^^^^^^^^^^^^^^^^^ - Имя ветки
^^^^^^^^^ - Номер задачи в Джире
^^^^^^^^^^^^^^^ - Краткое описание задачи в Джире
Посмотрим, какие мы внесли изменения:
git status
=>
On branch EDW-1234-task_short_name
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: app/components/sequencer/ChooseCorrectFormQuestionComponent.jsx
modified: app/components/sequencer/SelectAnswerQuestionComponent.jsx
modified: app/lib/questionCheckersHelper.js
modified: app/lib/shapes.js
modified: app/pages/sequencer/SequencerPage.jsx
no changes added to commit (use "git add" and/or "git commit -a")
Добавим изменения в ветку:
git add .
Сохраним изменения в ветке:
git commit -m 'EDW-1234 Чуть более подробное описание сделанных изменений'
=>
[EDW-1234-task_short_name 1df3a101f] EDW-1234 Чуть более подробное описание сделанных изменений
5 files changed, 465 insertions(+), 641 deletions(-)
Пушим ветку в репозиторий
git push -f origin EDW-1234-task_short_name
=>
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 14.33 KiB | 2.05 MiB/s, done.
Total 5 (delta 5), reused 0 (delta 0)
remote: Resolving deltas: 100% (5/5), completed with 5 local objects.
To github.com:educagroup/educa-test.git
+ c655b546f...1df3a101f EDW-1234-task_short_name -> EDW-1234-task_short_name (forced update)