Skip to content

Instantly share code, notes, and snippets.

Avatar

Andreas Zitzelsberger az82

View GitHub Profile
@az82
az82 / git-set-user.sh
Created Oct 26, 2018
git-set-user .profile function
View git-set-user.sh
# Sets the user email and GPG signing key for a Git repository and turns on commit signing for that repository
#
# Usage: git-set-user EMAIL [PATH_TO_GIT_REPO]
# If no Git repository is provided, the current working directory will be used.
function git-set-user() {
if [ "$#" -lt "1" ]
then
echo "Missing required arguments" >&2
echo "Usage: git-set-user EMAIL [PATH_TO_GIT_REPO]" >&2
return 65
View keybase.md

Keybase proof

I hereby claim:

  • I am az82 on github.
  • I am az82 (https://keybase.io/az82) on keybase.
  • I have a public key ASDo9mcQU2ydsk16L3W4OuG8RMp7FQLDTHtVWi6og9Xowgo

To claim this, I am signing this object: