-
Notifications
You must be signed in to change notification settings - Fork 1
/
update-branches.sh
executable file
·22 lines (21 loc) · 1.3 KB
/
update-branches.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
set -ex
# branches should be local
#git fetch
#git checkout remotes/origin/texstudio-template && git checkout -b texstudio-template
#git checkout remotes/origin/texlive-2014 && git checkout -b texlive-2014
#git checkout remotes/origin/texlive-2018-fancyhdr && git checkout -b texlive-2018-fancyhdr
#git checkout remotes/origin/texlive-2018-fancyhdr-opp1_5-2_5-3_4 && git checkout -b texlive-2018-fancyhdr-opp1_5-2_5-3_4
#git checkout remotes/origin/texlive-2018+texstudio && git checkout -b texlive-2018+texstudio
#git checkout remotes/origin/texlive-2018+texstudio-stperl && git checkout -b texlive-2018+texstudio-stperl
#git checkout remotes/origin/texlive-2018+texstudio-stperl-opp1_8 && git checkout -b texlive-2018+texstudio-stperl-opp1_8
# make changes in master
git checkout texstudio-template && git rebase master
git checkout texlive-2014 && git rebase master
git checkout texlive-2018-fancyhdr && git rebase master
git checkout texlive-2018-fancyhdr-opp1_5-2_5-3_4 && git rebase master
git checkout texlive-2018+texstudio && git rebase texlive-2018-fancyhdr
git checkout texlive-2018+texstudio-stperl && git rebase texlive-2018+texstudio
git checkout texlive-2018+texstudio-stperl-opp1_8 && git rebase texlive-2018+texstudio
git checkout master
git push -f --all -u okbrepo && git push -f --all -u origin