Sign Git commits

This commit is contained in:
Scott Wallace 2021-05-27 08:40:27 +01:00
parent 217f712c4c
commit 1d7135d010
Signed by: scott
GPG key ID: AA742FDC5AFE2A72
3 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,7 @@
[user] [user]
name = Scott Wallace name = Scott Wallace
email = scott@wallace.sh email = scott@wallace.sh
signingkey = AA742FDC5AFE2A72
[push] [push]
default = simple default = simple
[pack] [pack]
@ -20,7 +21,7 @@
lg = !"git lg1" lg = !"git lg1"
lgd = log -p --decorate lgd = log -p --decorate
history = log --pretty=oneline --abbrev-commit --all --graph --decorate history = log --pretty=oneline --abbrev-commit --all --graph --decorate
tidy = !git remote prune origin && git fetch -p && git branch -vv | awk '/: gone]/ {print $1}' | xargs -r git branch -D tidy = !git remote prune origin && git fetch -pPt && git branch -vv | awk '/: gone]/ {print $1}' | xargs -r git branch -D
update = !git pull && git tidy update = !git pull && git tidy
st = status st = status
ci = commit ci = commit
@ -38,3 +39,5 @@
autosetuprebase = always autosetuprebase = always
[credential] [credential]
helper = cache --timeout=3600 helper = cache --timeout=3600
[commit]
gpgsign = true

View file

@ -3,6 +3,6 @@ Include config.d/*
Host * Host *
ServerAliveInterval 120 ServerAliveInterval 120
ServerAliveCountMax 3 ServerAliveCountMax 3
IdentitiesOnly yes #IdentitiesOnly yes
ForwardAgent yes ForwardAgent yes

2
.vimrc
View file

@ -41,7 +41,7 @@ filetype plugin indent on " required
" Hybrid color scheme " Hybrid color scheme
let g:hybrid_use_Xresources = 1 let g:hybrid_use_Xresources = 1
set background=dark set background=dark
colorscheme hybrid " colorscheme hybrid
" Tabs and indents " Tabs and indents
set tabstop=4 set tabstop=4