DEV Community

amogh2019
amogh2019

Posted on

gitpod + commit with no reply email

Problem :
Were not able to push commits from gitpod since i enabled email privacy in github, and gitpod was pushing commits with my private email.

Soln :
As mentioned on their account page

You can override Git author name and email per project by using the default environment variables GIT_AUTHOR_NAME, GIT_COMMITTER_NAME, GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAIL.

upon setting both

GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAIL to the your_no_reply_email_which_looks_like_username@users.noreply.github.com commits were finally pushed with correct no reply email.

gpg signing is still not solved. to-be-done later

Top comments (0)