|
@ -47,6 +47,16 @@ rmd () { |
|
|
|
|
|
|
|
|
# Git commands |
|
|
# Git commands |
|
|
|
|
|
|
|
|
|
|
|
## pull |
|
|
|
|
|
## Usage: pull [remote branch] |
|
|
|
|
|
pull () { |
|
|
|
|
|
if [ "$1" ]; then |
|
|
|
|
|
git pull "$1" "$2" |
|
|
|
|
|
else |
|
|
|
|
|
git pull |
|
|
|
|
|
fi |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
## commit |
|
|
## commit |
|
|
## Usage: commit <commit-message> |
|
|
## Usage: commit <commit-message> |
|
|
commit () { |
|
|
commit () { |
|
@ -94,4 +104,5 @@ stop () { |
|
|
## Usage: mkr-update |
|
|
## Usage: mkr-update |
|
|
mkr-update () { |
|
|
mkr-update () { |
|
|
curl https://raw.githubusercontent.com/MKRhere/wiki/master/scripts/mkr.sh -o ~/.mkr/mkr.sh |
|
|
curl https://raw.githubusercontent.com/MKRhere/wiki/master/scripts/mkr.sh -o ~/.mkr/mkr.sh |
|
|
|
|
|
source ~/.mkr/mkr.sh |
|
|
} |
|
|
} |