https://github.com/degete/gitconfig
⚙️ Git config files
https://github.com/degete/gitconfig
config git gitconfig gitconfig-local gitignore
Last synced: over 1 year ago
JSON representation
⚙️ Git config files
- Host: GitHub
- URL: https://github.com/degete/gitconfig
- Owner: Degete
- Created: 2021-01-02T03:52:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T11:27:49.000Z (over 2 years ago)
- Last Synced: 2025-02-10T13:43:57.722Z (over 1 year ago)
- Topics: config, git, gitconfig, gitconfig-local, gitignore
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Gitconfig
## Installation:
```sh
cd ~
git clone --recursive git@github.com:degete/gitconfig.git ~/.git
ln -s .git/gitconfig .gitconfig
```
## GPG passphrase on macOS
You might want to have integration to store your keys on the Keychain in macOS, for that install
```sh
brew install pinentry-mac
```
Add the config to `gpg-agent` in order to work with `pinentry-mac`:
```sh
echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf
```
Restart `gpg-agent` in order to load the config, and you are ready to go:
```sh
killall gpg-agent
```
To check everything is up, you can execute the command which will ask your passphrase and will allow you to save it on the Keychain.
```sh
echo "Test" | gpg --clearsign
```