I have a remote shell that me and a few others work on. I'd like to set it up so that I can run something like gitcole ; git commit -m"example"
.
Where gitcole sets the relevant env variables for just that command, namely:
GIT_AUTHOR_NAME is the human-readable name in the “author” field.
GIT_AUTHOR_EMAIL is the email for the “author” field.
GIT_COMMITTER_NAME sets the human name for the “committer” field.
GIT_COMMITTER_EMAIL is the email address for the “committer” field.
I'm not very familiar with bash. How would I tackle this?