mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
268 B
12 lines
268 B
5 years ago
|
#!/bin/zsh
|
||
|
suckdiff &&
|
||
|
git reset --hard origin/master &&
|
||
|
for branch in $(git for-each-ref --format='%(refname)' refs/heads/ | cut -d'/' -f3); do
|
||
|
if [ "$branch" != "master" ];then
|
||
|
echo $branch
|
||
|
git merge $branch -m $branch
|
||
|
fi
|
||
|
done
|
||
|
make && sudo make clean install
|
||
|
|