Skip to content

Commit abab42a

Browse files
Bug fix commit 28
1 parent fe79dba commit abab42a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bugfix1/bugfix1_28.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bug fix commit 28

line_merge_rebase_demo.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
echo "Creating bugfix/1 branch..."
55
git checkout -b bugfix/1
66
git checkout bugfix/1
7-
for i in {26..27}; do
7+
for i in {28..29}; do
88
cd /Users/andreyshabunov/PhpstormProjects/git-practics/bugfix1/
99
echo "Bug fix commit $i" > bugfix1_$i.txt
1010
cd /Users/andreyshabunov/PhpstormProjects/git-practics/
@@ -26,7 +26,7 @@ git rebase main
2626
# Возвращаемся к main и выполняем merge bugfix/1
2727
echo "Merging bugfix/1 into main using git merge..."
2828
git checkout main
29-
git merge bugfix/1 -m "Merge bugfix/1 into main"
29+
git merge --no-ff bugfix/1 -m "Merge bugfix/1 into main"
3030
git push -u origin main
3131

3232
# Итоговое состояние репозитория

0 commit comments

Comments
 (0)