My configuration for Git.
The configuration uses Visual Studio Code as the editor and Sublime Merge as the merge tool. delta is used to provide syntax highlighting on the command-line.
This repository contains the configuration file for Git. This file is synchronized using this Git repository. The following instructions detail how to use this repository.
Install these settings with the following instructions. The instructions target a Fedora Atomic system.
-
Install just by following the instructions in the installation section.
-
Clone this repository.
git clone git@github.com:jwillikers/git-config.git
-
Change to the project’s directory.
cd git-config
-
Run
just
to install the config.just
-
Replace the example email with the work email account in
config/work.inc
. All projects under the~/Projects/Work
directory will use the Git configuration in this file. -
On Fedora Atomic, reboot to finish installing the necessary packages.
sudo systemctl reboot
Please refer to the project’s Code of Conduct.
The config/template/hooks/pre-commit
file was generated by pre-commit using the following command.
pre-commit init-templatedir ~/.config/git/template
The config/template/hooks/pre-commit
file is from pre-commit: automatically enabling pre-commit on repositories.