git-clone-init
git-clone-init copied to clipboard
Automatic setup of user identity (user.email / user.name) on git clone
Added gpgid field so GPG keys can be configured to be used on that repo.
```sh # Git config from LDAP (/etc/profile.d/gitconfig.sh) # Set Git user/email based on LDAP values test -x /usr/bin/git || return test -x /usr/bin/ldapsearch || return git config --global user.name >...
Solves https://github.com/DrVanScott/git-clone-init/issues/7.
It would be much nicer to not clutter the home directory with dotfiles.
If a user has set up both user.email/name and author.email/name in a global ~/.gitconfig, git will default to the global author.email/name when adding commits to a project automatically set up...