dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: ca3f7c41cbf771757846ea5656e18539292019ec
Parent: 5894e1abf4b2e99197756e8936112fa42135f67d
Author: Randy Palamar
Date:   Tue,  7 May 2024 10:26:48 -0600

add git config

Diffstat:
A.config/git/config | 33+++++++++++++++++++++++++++++++++
A.config/git/hooks/pre-commit | 6++++++
A.config/git/ignore | 1+
3 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/.config/git/config b/.config/git/config @@ -0,0 +1,33 @@ +[user] + email = randy@rnpnr.xyz + name = Randy Palamar +[alias] + a = add + ca = commit --amend + cv = commit -v + cm = commit -m + d = diff + ds = diff --staged + s = status -s +[commit] + gpgsign = true +[tag] + gpgsign = true +[pull] + rebase = true +[log] + abbrevCommit = true +[diff] + ignoreSubmodules = dirty +[sendemail] + smtpserver = /usr/alt/bin/msmtp +[init] + defaultBranch = master +[safe] + directory = /usr/portage/local + directory = /usr/alt +[advice] + skippedCherryPicks = false +[core] + excludesfile = ~/.config/git/ignore + hooksPath = ~/.config/git/hooks diff --git a/.config/git/hooks/pre-commit b/.config/git/hooks/pre-commit @@ -0,0 +1,6 @@ +#!/bin/sh + +if git commit -v --dry-run | grep -i "NOCOMMIT"; then + echo "NOCOMMITs found! Aborting commit!" + exit 1 +fi diff --git a/.config/git/ignore b/.config/git/ignore @@ -0,0 +1 @@ +*.o