瀏覽代碼

Add a pull with autostash alias to #gitconfig

Colin Powell 5 年之前
父節點
當前提交
cdb049e17a
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      git/.gitconfig

+ 2 - 1
git/.gitconfig

@@ -18,7 +18,8 @@
 	ci = commit
 	br = branch
 	co = checkout
-	df = diff
+	d = diff
+	p = pull --autostash
 	l = log --date-order --date=iso --graph --full-history --all --pretty=format:'%x08%x09%C(red)%h %C(cyan)%ad%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08 %C(bold blue)%aN%C(reset)%C(bold yellow)%d %C(reset)%s'
 	lg = log -p
 	lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all