Commit b2f61522 authored by platyhouse's avatar platyhouse

# ptyUpdate 스크립트 추가

## 새 파일

- ptyUpdate: pty_centos.git 저장소를 어디서든 업데이트할 수 있는 bash 스크립트
  - 스크립트가 위치한 디렉토리를 기준으로 git pull 실행
  - 현재 작업 디렉토리와 무관하게 저장소 업데이트 가능
parent 154429fe
#!/bin/bash
# ptyPull - 이 스크립트가 있는 저장소를 업데이트
# 사용법: ptyPull
#
# 어디서 실행하든 pty_centos.git 저장소를 pull 합니다.
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
echo "ptyPull - pty_centos.git 저장소 업데이트"
echo "경로: $SCRIPT_DIR"
echo ""
cd "$SCRIPT_DIR" && git pull
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment