[user]
	email = {{ .git_email }}
	name = {{ .git_alias }}
[pull]
	rebase = false
[push]
        default = current
[alias]
  a = add
  ahead-of-master = log --oneline origin/master..HEAD
  b = "!git checkout $(git branch | fzf)"
  c = commit
  cd = checkout develop
  cm = checkout master
  cp = cherry-pick
  f = fetch -p
  m = merge
  nb = checkout -b
  p = push -u origin
  s = status
  track = "!for BRANCH in $(git branch -a | grep remotes | grep -v HEAD); do git branch --track \"${BRANCH#remotes/origin/}\" \"${BRANCH}\"; done"
  untrack = "!for BRANCH in $(git branch | grep -v '*'); do git branch -D \"${BRANCH}\"; done"
  work-in-progress = rebase -i @{u}
  refresh = "!git untrack && git gc && git f && git track"
[include]
  path = ~/.gitconfig_custom.inc
[credential]
  helper = store
[credential "https://github.com"]
  helper = cache