Skip to content
DegetePublic

About

⚙️ Git config files

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

git logo

Gitconfig by Degete

Git configuration for everyone

License: MIT Open Source

Getting started

$ cd ~
$ git clone --recursive git@github.com:degete/gitconfig.git ~/.gitconfig.d
$ ln -s .gitconfig.d/gitconfig .gitconfig
$ cp .gitconfig.d/gitconfig.local .gitconfig.local

Config ssh keys

Modify ~/.ssh/config file to automatically load keys into the ssh-agent and store passphrases in your keychain.

Host *
  AddKeysToAgent yes
  UseKeychain yes # If don't use a passphrase, omit this
  IdentityFile ~/.ssh/<id_ed25519>

Add private keys to the ssh-agent

To add the keys and store your passphrase in the keychain:

$ ssh-add --apple-use-keychain ~/.ssh/<id_ed25519>

The --apple-use-keychain option stores the passphrase in your keychain for you when you add an SSH key to the ssh-agent. If you chose not to add a passphrase to your key, run the command without the --apple-use-keychain option.

Self Promotion

If you find this project useful, consider giving it a ★ on GitHub. You can also follow Degete for more projects on GitHub.

See also

  • zshrc: ⚙️ ZSH config files
  • tmux-conf: ⚙️ tmux config files
  • vimrc: ⚙️ Vim config files
  • nvim-config: ⚙️ Neovim config files
  • brewfile: ⚙️ brewfile config file for macOS 🍏

License

This project is licensed under the MIT License.

Copyright (c) David Tort.

About

⚙️ Git config files

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors