Conversation

Jarkko Sakkinen

A true time saver ;-)

git-init-linux () {
  git config sendemail.envelopeSender "jarkko@kernel.org"
  git config sendemail.from "Jarkko Sakkinen <jarkko@kernel.org>"
  git config sendemail.sendmailCmd "/usr/bin/env msmtp"
}

Given that, I don’t want to keep this in the #global #git config.

#linux #kernel

1
1
0

@jarkko You could also use a conditional include in your git config that sets these values if you're in a kernel dir (or a folder above if you keep all your trees in the same dir)

https://blog.gitbutler.com/git-tips-1-theres-a-git-config-for-that/#conditional-configs

0
0
0