Module 8 polish: backup check, credentials, forge, prices (#38,#39,#47,#52) (#64)
Co-authored-by: claude <claude@jpaul.io> Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #64.
This commit is contained in:
@@ -15,6 +15,14 @@
|
||||
|
||||
set -u
|
||||
|
||||
# Fail fast instead of hanging. The clone and fetch below talk to the remote,
|
||||
# and on the HTTPS+token path with no cached credential (a common fresh-Linux
|
||||
# state) Git would stop to prompt for a username/password on the tty and block
|
||||
# this check forever. Disabling interactive prompts turns that into a clean,
|
||||
# non-zero failure that drops into the graceful warn branch below. SSH keys,
|
||||
# public repos, and cached credential helpers are unaffected.
|
||||
export GIT_TERMINAL_PROMPT=0
|
||||
|
||||
# --- tiny output helpers (fall back to plain text if no color) ---------------
|
||||
if [ -t 1 ]; then
|
||||
GREEN=$'\033[32m'; RED=$'\033[31m'; YELLOW=$'\033[33m'; BOLD=$'\033[1m'; RESET=$'\033[0m'
|
||||
|
||||
Reference in New Issue
Block a user