mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-19 01:46:13 +00:00
1fabfb5204
- signed-off-by: trimstray <trimstray@gmail.com>
16 lines
208 B
Bash
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
|
|
|
|
}
|