Answers for "if git status"

0

if git status

if [[ -z $(git status -s) ]]
then
  echo "tree is clean"
else
  echo "tree is dirty, please commit changes before running this"
  exit
fi
Posted by: Guest on May-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language