HosipLan

Untitled

Jun 21st, 2012
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.99 KB | None | 0 0
  1. [alias]
  2.     co = checkout
  3.     ci = commit
  4.     st = status
  5.     d = diff
  6.     dc = diff --cached
  7.     rb = rebase -p
  8.     up = "!git fetch origin && git rb origin/$(git_current_branch)"
  9.     mb = merge --no-ff
  10.     br = "!git log --no-walk --date-order --oneline --decorate $(git rev-list --branches --no-walk)"
  11.     b = branch
  12.     cf = show --pretty="format:" --name-only
  13.     l = log --graph --decorate --oneline --all
  14.     lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit
  15.     lol = log --graph --decorate --pretty=oneline --abbrev-commit
  16.     lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
  17.     ls = ls-files
  18.     permission-reset = "!git diff -p | grep -E '^(diff|old mode|new mode)' | sed -e 's/^old/NEW/;s/^new/old/;s/^NEW/new/' | git apply"
  19.     test = "!cd tests && phpunit && cd .."
  20.     split = "!./split.sh"
  21.     log2 = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
Advertisement
Add Comment
Please, Sign In to add comment