freeminer/util/merge_upstream.sh
2016-01-28 15:00:24 +03:00

11 lines
238 B
Bash
Executable File

#!/bin/sh
cd ..
git remote add upstream https://github.com/freeminer/freeminer.git
git fetch --all
git pull
( git merge --no-edit upstream/master | grep -i "conflict" ) && exit
git push
git submodule update --init --recursive
git status