mirror of
https://git.hackliberty.org/Awesome-Mirrors/the-book-of-secret-knowledge.git
synced 2024-08-20 13:58:47 -06:00
16 lines
208 B
Plaintext
16 lines
208 B
Plaintext
![]() |
#!/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
|
||
|
|
||
|
}
|