#!/usr/bin/env bash # commit.sh "" — commit inside /home/_crossfeed/tooling/ # as your local uid. Sets umask 002 so group members keep write access. set -euo pipefail base=$(cd "$(dirname "$0")" && pwd) repo=${1:?usage: commit.sh ""} msg=${2:?usage: commit.sh ""} cd "$base/$repo" umask 002 git add -A git commit -m "[$USER] $msg"