Last active
December 16, 2015 10:39
Revisions
-
webkonstantin revised this gist
Dec 16, 2015 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,9 +2,6 @@ set -e # move to working tree dir export GIT_DIR=$(cd ${GIT_DIR}; pwd) GIT_WORK_TREE="${GIT_DIR}/.." -
webkonstantin created this gist
Dec 16, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ #!/bin/bash set -e # include dotfile in * glob shopt -s dotglob # move to working tree dir export GIT_DIR=$(cd ${GIT_DIR}; pwd) GIT_WORK_TREE="${GIT_DIR}/.." # update working dir ( cd ${GIT_WORK_TREE} pwd git diff-index -R --name-status HEAD >&2 git reset --hard HEAD # composer install )