• Operand
  • hou are ue?

gram: build

> ./config/git/config

Lenses
(coming soon!)


[alias]
  # Check working status of repository
  s = status --short
  d  = diff -w --patience
  dc = diff -w --patience --cached

  # Manage staged files
  a = add
  ab = add --intent-to-add # 'add basic'
  rb = rebase
  rh = reset HEAD
  st = stash

  # Navigate around the git tree
  b = branch
  c = commit -v
  co = checkout
  f = fetch
  m = merge
  make = init
  r = remote

  # Talk to remote git servers
  j = pull
  k = push
  kf = push --force-with-lease

  # Easily edit ignore files
  i = !"hx .gitignore"
  e = !"hx .git/info/exclude"

  # Take a detailed look at the state of the git tree
  lg = log --graph --all --format=format:'%C(red)%h %G?%C(reset) %C(cyan)(%ai)%C(reset) %C(yellow)%aN:%C(reset) %s %C(blue)%d%C(reset)' --abbrev-commit --date=relative

  # Work with GitHub
  pr = !"git rebase -i master && git push --force-with-lease && hub pull-request"

[color]
  ui = true

[core]
  pager = less
  editor = hx
  commentchar = |

[push]
  default = current

[user]
  name = c4lliope
  email = code@assembled.app
  signingkey = F03B6A4E342255E58CB05917056B8A583204B182

[init]
  defaultBranch = main

[gpg]
  program = gpg
[cinnabar]
  version-check = 1654120453
  helper = /home/calliope/place/base.bingo/depend/git-cinnabar/git-cinnabar-helper
[safe]