radare2/sys/sync.sh

8 lines
215 B
Bash
Raw Normal View History

#!/bin/sh
if ! git remote | grep upstream > /dev/null
then
2019-10-07 08:48:31 +00:00
git remote add upstream https://github.com/radareorg/radare2.git
fi
test -d radare2 && git fetch upstream && git rebase --onto master upstream/master