Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stain/test-orcid-gitauthor
Can we use ORCIDs as git's user.name or user.email ?
https://github.com/stain/test-orcid-gitauthor
Last synced: about 1 month ago
JSON representation
Can we use ORCIDs as git's user.name or user.email ?
- Host: GitHub
- URL: https://github.com/stain/test-orcid-gitauthor
- Owner: stain
- Created: 2017-09-11T13:58:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T14:08:09.000Z (over 7 years ago)
- Last Synced: 2024-11-05T13:13:11.288Z (3 months ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Experiment: Is it possible to use [ORCID](https://orcid.org/) in the git commit author log, rather than a fluctuating and emantically unresolvable email address?
# Recommended
```
git config --global user.name http://orcid.org/0000-0001-9842-9718
git config --global user.email [email protected]
```If the email address is recognized, GitHub will show it like 'your' user, but will replace your ORCID with your user name:
https://github.com/stain/test-orcid-gitauthor/commit/862b6a724ee2e10fc2a02bfb179392ee6ed11387
> @stain committed 9 minutes ago
If the email address is not recognized, then the author field from the commit (aka your ORCID) will show, but won't be clickable:
https://github.com/stain/test-orcid-gitauthor/commit/84d1dbde9fcbf4dbfd855ea546f4a6e62d5eeb32
> http://orcid.org/0000-0001-9842-9718 committed 5 minutes ago Unified Split
# Use ORCID as your "homepage"
You should set your ORCID (with `http://` prefix) as the **URL** in the
GitHub [Public Profile](https://github.com/settings/profile)