diff --git a/scripts/mkr.sh b/scripts/mkr.sh index ec117e6..67d73e8 100644 --- a/scripts/mkr.sh +++ b/scripts/mkr.sh @@ -47,6 +47,16 @@ rmd () { # Git commands +## pull +## Usage: pull [remote branch] +pull () { + if [ "$1" ]; then + git pull "$1" "$2" + else + git pull + fi +} + ## commit ## Usage: commit commit () { @@ -94,4 +104,5 @@ stop () { ## Usage: mkr-update mkr-update () { curl https://raw.githubusercontent.com/MKRhere/wiki/master/scripts/mkr.sh -o ~/.mkr/mkr.sh + source ~/.mkr/mkr.sh } \ No newline at end of file