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

View file

@ -3,7 +3,10 @@
name = Marty Oehme name = Marty Oehme
signingkey = 73BA40D5AFAF49C9 signingkey = 73BA40D5AFAF49C9
[init] [init]
defaultBranch = main defaultBranch = main
[sendemail]
smtpserver = "/usr/bin/msmtp"
annotate = yes
[alias] [alias]
ignore = "!gitignore -f" 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 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