25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
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. }