Skip to content

Instantly share code, notes, and snippets.

@gaetanbuellet
Last active May 20, 2025 15:01
Show Gist options
  • Select an option

  • Save gaetanbuellet/8c5f13b7a24340449af4 to your computer and use it in GitHub Desktop.

Select an option

Save gaetanbuellet/8c5f13b7a24340449af4 to your computer and use it in GitHub Desktop.
[push]
default = current
autosetupremote = true
[pull]
default = current
[alias]
st = status
stu = status -u
df = diff
co = checkout
ci = commit
br = branch
tree = "log --graph --decorate --all --pretty='%D %C(yellow) %h | %C(blue)%ad | %C(red)%s' --date=human"
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
cane = commit --amend --no-edit
merged = "!git branch --merged | egrep -v '(^\\*|master)' | xargs git branch -d"
[core]
editor = vim
excludesFile = ~/.gitignore
[fetch]
prune = true
[user]
email = ...
name = ...
[init]
defaultBranch = main
[rebase]
autosquash = true
autostash = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment