summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-08-12 12:29:47 +0200
committerTobias Klauser <tklauser@distanz.ch>2020-08-12 12:29:47 +0200
commitc905c5cf674ef51f6c428a00c7481124230e6a40 (patch)
tree07b18d4e0447c892350fcb199ea562870e9a6382
parentc95a8f66289901afecf687797c02702d7dd54fe4 (diff)
.gitconfig: new aliases, order alphabetically
-rw-r--r--.gitconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/.gitconfig b/.gitconfig
index 13690d5..493e6b1 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -9,15 +9,21 @@
excludesfile = /home/tobiask/.gitignore
[alias]
+ amend = commit --amend
co = checkout
- st = status
+ ca = commit --amend
ci = commit
br = branch
d = diff
+ dc = diff --cached
+ dist = "!git archive --format=tar -v --prefix=$(git describe HEAD)/ $(git describe HEAD) | bzip2 -9v > ../$(git describe HEAD).tar.bz2"
ds = diff --stat
fixes = show --pretty=fixes -s
+ ll = log --decorate --graph --pretty=oneline
lp = log -p
- dist = "!git archive --format=tar -v --prefix=$(git describe HEAD)/ $(git describe HEAD) | bzip2 -9v > ../$(git describe HEAD).tar.bz2"
+ ls = ls-files
+ s = status -s
+ st = status
up = pull --rebase --autostash origin master
cr = codereview
change = codereview change