Skip to content

Instantly share code, notes, and snippets.

@mmassaki
Last active April 5, 2022 12:08
Show Gist options
  • Select an option

  • Save mmassaki/5ba8db571f2b611f4dd043564a36edcd to your computer and use it in GitHub Desktop.

Select an option

Save mmassaki/5ba8db571f2b611f4dd043564a36edcd to your computer and use it in GitHub Desktop.
Basic setup
[alias]
st = status -sb
ci = commit
br = branch
df = diff --word-diff
lg = log --graph --decorate --date=format:'%d/%m/%y %H:%M' --pretty=format:'%C(yellow)%h%Creset -%C(bold red)%d%Creset %s %C(green)(%ad) %C(bold blue)<%an>%Creset'
co = checkout
pom = push origin master
pr = pull-request
ps = push
pl = pull
mg = merge --no-ff
ft = fetch
ls-rm = ls-remote --heads
[core]
editor = subl -n -w
excludesfile = ~/.gitignore_global
[color]
branch = auto
diff = auto
grep = auto
interactive = auto
status = auto
[credential]
helper = osxkeychain
[difftool]
prompt = false
[user]
name = <user name>
email = <user email>
[rebase]
autoSquash = true
[commit]
verbose = true
ZSH_THEME="schminitz"
plugins=(
gitfast
bundler
rbenv
)
# direnv setup
eval "$(direnv hook zsh)"
unsetopt share_history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment