Generate environment variable of the current working directory/repo.
To use git-env
please run this command within directory of a git repo.
git env
Output
GIT_ACTOR=<actor>
GIT_REPOSITORY=<owner>/<reop>
GIT_REPOSITORY_OWNER=<owner>
GIT_REF=refs/heads/main
GIT_REF_NAME=main
GIT_SHA=7e6fe70a107dd5902da637fcc58a89f05bfdd27f
Licensed under MIT