You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
353 B
Bash
14 lines
353 B
Bash
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
if [[ "$(git -C ./basic status --porcelain)" != "" ]]; then
|
||
|
echo ----------------------------------------
|
||
|
echo git status
|
||
|
echo ----------------------------------------
|
||
|
git status
|
||
|
echo ----------------------------------------
|
||
|
echo git diff
|
||
|
echo ----------------------------------------
|
||
|
git diff
|
||
|
exit 1
|
||
|
fi
|