Advertisement
justefg

gitconfig

Dec 5th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.53 KB | None | 0 0
  1. [user]
  2.     email = theluckyemil@gmail.com
  3.     name = Emil Guseynov
  4. [init]
  5.         templatedir = /home/emilchess/.git-templates
  6. [core]
  7.         editor = vim
  8. [diff]
  9.         tool = vimdiff
  10.         mnemonicprefix = true
  11. [alias]
  12.         st = status
  13.         br = branch
  14.         co = checkout
  15.         ci = commit
  16.         rb = rebase
  17.         cl = clone
  18.     tree = log --graph --oneline --all
  19.     cam = commit -a --amend
  20.     camp = 'git cam && git push -f'
  21.     l  = log --graph --format=tformat:'%C(yellow)%h %C(cyan)%aN%Cred%d%Creset %s'
  22.     ll = log --graph --format=tformat:'%C(yellow)%h %C(cyan)%aN %C(blue bold)%ar%Creset%Cred%d%Creset %s'
  23.     lm = log --graph --format=tformat:'%C(yellow)%h %C(cyan)%aN%Cred%d%Creset %s' master..
  24.     rim = rebase -i master
  25.     rbm = rebase master
  26.     ris = rebase -i wmi_stable
  27.     rbs = rebase wmi_stable
  28.     gp = !git push gerrit HEAD:refs/for/master/`git symbolic-ref --short HEAD`
  29.     gps = !git push gerrit HEAD:refs/for/wmi_stable/`git symbolic-ref --short HEAD`
  30.     gpss = !git push gerrit HEAD:refs/for/sharpei_stable/`git symbolic-ref --short HEAD`
  31.     pr = pull --rebase
  32.     com = checkout master
  33.     cos = checkout wmi_stable
  34.     sm = submodule
  35.     smu = submodule update
  36.     smui = submodule update --init
  37.     lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
  38. [color]
  39.         diff = auto
  40.         ui = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement