Update pre-push hook again agin
This commit is contained in:
parent
7dde0b6aae
commit
d6ecd20cbf
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
if [ -z "$(git status --porcelain -M)" ];then
|
||||
if [ -z "$(git status --porcelain)" ];then
|
||||
echo No uncommited changes detected
|
||||
else
|
||||
echo The following files have uncommited changes:
|
||||
git status --porcelain -M
|
||||
git status --porcelain
|
||||
echo Refusing to push
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue