#!/bin/sh
set -eu

export GIT_TERMINAL_PROMPT=0
export GIT_ASKPASS="${GIT_ASKPASS:-/root/.local/bin/gitea-git-askpass}"
export GITEA_USERNAME="${GITEA_USERNAME:-learning_ai_user}"
export GITEA_TOKEN_FILE="${GITEA_TOKEN_FILE:-/root/.gitea_npm_token_home}"

exec git "$@"
