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]
name = Scott Wallace
email = scott@wallace.sh
signingkey = AA742FDC5AFE2A72
[push]
default = simple
[pack]
@ -20,7 +21,7 @@
lg = !"git lg1"
lgd = log -p --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
st = status
ci = commit
@ -38,3 +39,5 @@
autosetuprebase = always
[credential]
helper = cache --timeout=3600
[commit]
gpgsign = true

View file

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

2
.vimrc
View file

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