From 1d7135d0107fa1b2e26dbfc5ba03d9c4d570090a Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Thu, 27 May 2021 08:40:27 +0100 Subject: [PATCH] Sign Git commits --- .gitconfig | 5 ++++- .ssh/config | 2 +- .vimrc | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitconfig b/.gitconfig index 4efec5e..c9567d7 100644 --- a/.gitconfig +++ b/.gitconfig @@ -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 diff --git a/.ssh/config b/.ssh/config index b1efbd0..de1695f 100644 --- a/.ssh/config +++ b/.ssh/config @@ -3,6 +3,6 @@ Include config.d/* Host * ServerAliveInterval 120 ServerAliveCountMax 3 - IdentitiesOnly yes + #IdentitiesOnly yes ForwardAgent yes diff --git a/.vimrc b/.vimrc index 53c5dba..77b11c6 100644 --- a/.vimrc +++ b/.vimrc @@ -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