From 0fb30545211c84400a8b7bd84e07cca8ed3a6bc475bcef6ca6eaa4a30e9faaf7 Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 27 Jun 2024 13:36:03 +0200 Subject: [PATCH] add gitconfig --- README.md | 4 ++-- git/.gitconfig | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 git/.gitconfig diff --git a/README.md b/README.md index 0631e84..9dad404 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ You will need atleast following packages for it to work -`paru -S neovim alacritty plasma-meta zsh fzf stow tmux` +`paru -S neovim alacritty plasma-meta zsh fzf stow tmux git` ### Getting started @@ -15,7 +15,7 @@ For stow to restore the old state you have to run following command. `git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles` -`stow alacritty nvim plasma zsh tmux` +`stow alacritty nvim plasma zsh tmux git` If you just wanna restore one application config you can do so by executing it via package name. `stow nvim` diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..828aae8 --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,21 @@ +[user] + email = philipp@boehm.sh + name = Philipp + signingkey = AA5E5A3C + +[core] + repositoryFormatVersion = 1 + editor = nvim + +[gpg] + program = gpg2 + +[commit] + gpgsign = true + +[init] + defaultBranch = main + +[extensions] + objectFormat = sha256 + compatObjectFormat = sha1