Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add more git aliases

  • Loading branch information...
commit f03270085b32c8662695b9a6ec82636dbcbca4df 1 parent 558903d
@gray authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 .gitconfig
View
15 .gitconfig
@@ -30,6 +30,21 @@
[rebase]
autosquash = true
[alias]
+ aliases = !git config --get-regexp '^alias\\..*' | cut -c 7- | sed 's/ / = /' | sort
+ st = status
+ br = branch
+ ci = commit
+ co = checkout
+
+ s = status -sb
+ diffs = diff --stat
+
+ l = log --oneline --decorate
+ ll = log @{upstream}.. --oneline --decorate
+ llog = log @{upstream}.. --decorate
+
+ unstage = reset HEAD
+ amen = commit --amend -C HEAD
amend = commit --amend
ammend = commit --amend
patch = add --patch
Please sign in to comment.
Something went wrong with that request. Please try again.