Hacker News new | ask | show | jobs
by GauntletWizard 727 days ago
There's a bug in here: some git git commands will fail if you are in a subdirectory; i.e. git git add foo, because the behavior of ! Is to run those from the git root. My solution is:

  git = !cd -- ${GIT_PREFIX:-.} && git