⬅️ 이전: gcc hello world 출력하기 - Learn Linux     🏠 분류 목차     다음: Go ➡️

3 GIT 개념도

git deploy

git init –bare

cd hooks vi post-receive

#!/bin/bash
git --work-tree=/var/www/html --git-dir=/home/nugupoem/bare.git checkout -f

실행파일 추가

chmod +x post-receive

개발PC

git remote add server ssh://root@101.101.164.248/home/nugupoem/bare.git


⬅️ 이전: gcc hello world 출력하기 - Learn Linux     🏠 분류 목차     다음: Go ➡️
서브목차