Repository navigation
Use GIT_AUTHOR_EMAIL and GIT_AUTHOR_NAME environment variables during commit #940
astanoszek
started this conversation in
Ideas
Replies: 3 comments 3 replies
|
Hi @astanoszek thanks for your interest in gitui. I found those in the documentation: https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables did not even know they existed 🙈 can you give me a Little more insight when/why these are preferred over the git config? |
0 replies
|
Git config is great if you work with local repository. In my case I sometimes work in repository on the remote machine, which is shared by few people. In such a case I set the environment variable in my .ssh key and commit using my name. I know that it is questionable practice and everybody should use local branches but you know - there are specific cases. |
2 replies
|
very interesting. I guess it could be done pretty central in |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
One of the ways to provide author name of the commiter in git is to use the GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL environment variables.
It would be great if gitui used them also.
All reactions