You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TCR-Xcode by Jon Reid, https://qualitycoding.org
# Copyright 2023 Jonathan M. Reid. https://github.com/jonreid/TCR-Xcode/blob/main/LICENSE.txt
# SPDX-License-Identifier: MIT
statusResult=$(git status -u --porcelain)
if [[ -z $statusResult ]]; then
exit 0
fi
read -r -d '' applescript <<'EndOfScript'
set instructions to "(Leave empty to cancel)"
set commitMessage to text returned of (display dialog instructions default answer "" with title "Commit message:" buttons {"Commit"} default button "Commit")