git exec

Execute a shell script

Git alias:

exec = ! exec

Example:

git exec pwd
/home/alice/projects/example

Note: git always runs scripts in the top directory.