the-book-of-secret-knowledg.../_tmp/lib/functions/_git
trimstray 23658057bd renamed tmp/ to _tmp/
- signed-off-by: trimstray <trimstray@gmail.com>
2018-06-24 11:34:42 +02:00

16 lines
208 B
Bash

#!/usr/bin/env bash
function _ana_git_pull() {
local _arg=("$@")
for _i in "${_arg[@]}" ; do
printf "%s" "$_i"
git pull origin "$_i" && git fetch --all && git fetch --prune --tags
done
}