xigoi / gitconfig

~/.gitconfig Commits Diff Raw
[core]
  editor = nvim
  pager = less
[alias]
  a = add
  b = branch
  bd = branch --delete
  c = commit
  ca = commit --amend
  cam = commit --all --message
  cm = commit --message
  d = diff
  g = log
  gg = log --oneline --graph
  h = checkout
  hb = checkout -b
  hm = checkout master
  i = init
  l = pull
  m = merge
  ma = merge --abort
  mm = merge master
  p = push
  po = push --set-upstream origin
  pom = push --set-upstream origin master
  r = remote
  ra = remote add
  rao = remote add origin
  s = status
  t = stash
  ta = stash apply
  td = stash drop
  tp = stash pop
  u = submodule
  ui = submodule init
  uu = submodule update
  v = clone
  w = bisect
  wb = bisect bad
  wg = bisect good
  wn = bisect new
  wo = bisect old
  wr = bisect reset
  ws = bisect start
  x = reset
  xh = reset --hard
[credential]
  helper = store
[user]
  name = Adam Bla┼żek
  email = [email protected]
[init]
  defaultBranch = master
[pull]
  rebase = false
[push]
  default = current