Skip to content

Commit d994128

Browse files
authored
Create mr-update.sh
1 parent 9e8eb29 commit d994128

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

mr-update.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
BRANCHES=()
4+
5+
BRANCHES+=(develop)
6+
BRANCHES+=(master)
7+
8+
if [ -n "$1" ]; then
9+
BRANCHES+=($1)
10+
fi
11+
12+
for i in ${BRANCHES[@]}; do
13+
mr git checkout ${i}
14+
mr git pull
15+
done

0 commit comments

Comments
 (0)