Skip to content

Instantly share code, notes, and snippets.

@andyperlitch
Last active March 16, 2021 19:42
Show Gist options
  • Select an option

  • Save andyperlitch/c435ac5a665f2363b255 to your computer and use it in GitHub Desktop.

Select an option

Save andyperlitch/c435ac5a665f2363b255 to your computer and use it in GitHub Desktop.
git config
[user]
name = [NAME]
email = [EMAIL]
[merge]
tool = opendiff
[alias]
s = status
st = status
ts = status
ci = commit
co = checkout
di = diff --color
dc = diff --cached
amend = commit --amend
aa = add --all
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
fa = fetch --all
psom = push origin master
plom = pull origin master
b = branch
psam = push andy master
plam = pull andy master
bo = for-each-ref --sort=-committerdate refs/heads/ --format='%(refname) %(committerdate) %(authorname)'
continue = rebase --continue
abort = rebase --abort
[core]
excludesfile = ~/.gitignore_global
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment