You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 line
208 B

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