Tuesday, October 6, 2015

git server hook after push

in server repo site edit file
.git/hooks/post-receive

add next script


#!/bin/bash
export GIT_WORK_TREE=/var/www/sitepath
git checkout -f



No comments:

Post a Comment

grub2-install: error: disk `mduuid/e54081d398c6d57b4d67436f6d032162' not found

After raid 1 disk replacement faced with this issue # grub2-install /dev/sdb Installing for i386-pc platform. grub2-install: error: disk `md...