https://github.com/dpremy/dot-git
Personal git configuration files managed by dotfiler.
https://github.com/dpremy/dot-git
dot-files git gitconfig
Last synced: 3 days ago
JSON representation
Personal git configuration files managed by dotfiler.
- Host: GitHub
- URL: https://github.com/dpremy/dot-git
- Owner: dpremy
- Created: 2018-11-23T18:01:28.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T09:34:58.000Z (over 1 year ago)
- Last Synced: 2025-07-20T02:14:07.004Z (3 months ago)
- Topics: dot-files, git, gitconfig
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dpremy git config file
## Purpose
This repository contains the dotfile and config I use with git. It is designed to work with [GNU stow](https://www.gnu.org/software/stow/), but can easily be used without it.
## Installation
```shell
# if you don't already have GNU stow, install stow for your OS# clone this repo in to a .files directory
git clone -q https://gitlab.com/dpremy/dot-git.git ~/.files/dot-git# use stow to symlink this 'package' in to your home directory
stow -d ~/.files/ -t ~/ -S dot-git
```## Usage
Create ~/.gitconfig_local, and at a minimum add your user information.
```ini
[user]
name = ""
email = ""
# add a trailing '!' if the key being used for signing is a subkey
# you can obtain the key id with `gpg --list-keys`, or for subkeys use `gpg --edit-key `
signingkey = ![commit]
gpgsign = true[tag]
# requires git 2.23+
gpgSign = true
```[.gitconfig](.gitconfig) has comments and may be worth reviewing.