100-way-merge/doit.sh

6 lines
189 B
Bash
Raw Normal View History

2024-05-25 09:14:00 +00:00
set -x
git init
for a in {0..100}; do git branch br$a; git switch br$a; touch br$a; git add br$a; git commit -m br$a; done
git switch main
git merge `for a in {0..100}; do echo br$a; done`