git: Add sendmail configuration

Added configuration to use git for direct patch contributions through
mail. Uses msmtp for mail agent.
This commit is contained in:
Marty Oehme 2022-11-25 16:42:34 +01:00
parent 4b93568831
commit e418e2508f
Signed by: Marty
GPG Key ID: 73BA40D5AFAF49C9
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@
name = Marty Oehme
signingkey = 73BA40D5AFAF49C9
[init]
defaultBranch = main
defaultBranch = main
[sendemail]
smtpserver = "/usr/bin/msmtp"
annotate = yes
[alias]
ignore = "!gitignore -f"
pushmerge = "push -o merge_request.merge_when_pipeline_succeeds" # see https://docs.gitlab.com/ce/user/project/push_options.html # merge-when-pipeline-succeeds-alias