Skip to content

Instantly share code, notes, and snippets.

Last active May 16, 2021 18:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
useConfigOnly = true
# name = Robin Hood
# email =
signingkey = <gpg signing key>
st = "status"
lg = log --graph --date=human --pretty=default
df = "diff --"
ap = "add -p"
find = "log --pretty=\"format:%Cblue%H %Cgreen%s%Creset\" --abbrev-commit --grep"
nah = !git reset --hard && git clean -df
publish = "!git push origin $(git symbolic-ref --short HEAD) -u"
track = !git branch --set-upstream-to origin/$1
default = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset
whitespace = "-trailing-space,tabwidth=4"
excludesFile = ~/.gitignore
followTags = true
forceSignAnnotated = true
lineNumber = true
gpgsign = true
program = <path to gpg executable>
defaultBranch = main
rebase = true
showUntrackedFiles = all
short = true
branch = true
# JetBrains IDE
# PhpUnit
# macOS
# Add the following SSH keys to the session
IdentityFile ~/.ssh/id_ed25519
# Personal Connections
Host github
User git
Host gitlab
User git
Host *
IdentityFile ~/.ssh/id_ed25519
AddKeysToAgent yes
UseKeychain yes
PubkeyAuthentication yes
IdentitiesOnly yes
UseRoaming no
Port 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment