Skip to content

Instantly share code, notes, and snippets.

@james-priest
Created September 23, 2024 14:00
Show Gist options
  • Save james-priest/eb01c5b2b4b8484061ae56cb71501345 to your computer and use it in GitHub Desktop.
Save james-priest/eb01c5b2b4b8484061ae56cb71501345 to your computer and use it in GitHub Desktop.
gitconfig aliases
[user]
name = xxx
email = xxx
signingKey = ""
[credential]
helper = osxkeychain
[alias]
mylog = log --pretty=format:'%h %s [%an]' --graph
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all
s = status
st = stash
stu = stash --include-untracked
stp = stash pop
stl = stash list
co = checkout
b = branch
c = commit -m
a = add
aa = add .
p = push
colorlog = log --pretty=format:'%C(yellow)%h %Cred%ad %Creset%s' --date=short
cl = log --pretty=format:'%C(yellow)%h %Cred%ad %Creset%s' --date=short
[gpg]
program = gpg
format = openpgp
[commit]
gpgSign = false
[tag]
forceSignAnnotated = false
[gpg "ssh"]
program = ssh-keygen
allowedSignersFile = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment