We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e02ce02 commit afcb770Copy full SHA for afcb770
scripts/merge-all.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
if [ $# -ne 1 ]; then
4
- echo "./merge-all.sh <commit-message>"
+ echo "$0 <commit-message>"
5
exit 1
6
fi
7
@@ -17,7 +17,7 @@ for branch in $(git branch -r | grep -v HEAD); do
17
echo "Checkout failed for branch $branch"
18
19
20
- git merge --squash main
+ git merge --squash -s recursive -X theirs main
21
if [[ $? -ne 0 ]]; then
22
echo "Merge failed for branch $branch"
23
@@ -26,4 +26,4 @@ for branch in $(git branch -r | grep -v HEAD); do
26
27
done
28
29
-git checkout main
+git checkout main
0 commit comments