3 ms·
Yes, that's roughtly what I am doing in my post-receive hook: export GIT_DIR=/path/repo export GIT_WORK_TREE=/path/working-directory git checkout -
by darekkay 5y ago
Yes, that's roughtly what I am doing in my post-receive hook:
export GIT_DIR=/path/repo
export GIT_WORK_TREE=/path/working-directory
git checkout -f