Skip to content

Instantly share code, notes, and snippets.

@endymion1818
Last active October 18, 2023 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save endymion1818/3552440608b181de0aa7dcb9215ff278 to your computer and use it in GitHub Desktop.
Save endymion1818/3552440608b181de0aa7dcb9215ff278 to your computer and use it in GitHub Desktop.
Just in case my computer blows up, I have all of my git shortcuts here
[push]
autoSetupRemote = true
[user]
name = xxx
email = xxx
[core]
excludesfile = ~/.gitignore
[alias]
sla = log --oneline --decorate --graph --all
whowhen = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
glog = log -E -i --grep
pom = push origin master
[pull]
ff = only
[init]
templatedir = ~/.git_templates
@endymion1818
Copy link
Author

touch ~/.gitconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment