SHARE
TWEET

Untitled

a guest Jun 15th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [alias]
  2.     # one-line log
  3.     l = log --pretty=format:"%C(yellow)%h\ %ad%Cred%d\ %Creset%s%Cblue\ [%cn]" --decorate --date=short
  4.  
  5.     a = add
  6.     ap = add -p
  7.     c = commit --verbose
  8.     ca = commit -a --verbose
  9.     cm = commit -m
  10.     cam = commit -a -m
  11.     m = commit --amend --verbose
  12.  
  13.     d = diff
  14.     ds = diff --stat
  15.     dc = diff --cached
  16.  
  17.     s = status -s
  18.     co = checkout
  19.     cob = checkout -b
  20.     # list branches sorted by last modified
  21.     b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
  22.  
  23.     # list aliases
  24.     la = "!git config -l | grep alias | cut -c 7-"
  25.      
  26. zstyle :compinstall filename '/home/giuliani/.zshrc'
  27. autoload -Uz compinit
  28. compinit
  29. [[ -f $HOME/.aliases ]] && source "$HOME/.aliases"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top