Skip to content

Commit

Permalink
Add more git aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 23, 2021
1 parent b530c6e commit e8e456d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git/.config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
ls-largest = !"git ls-tree -l --full-tree -r HEAD | awk '/blob/' | sort -r -k 4 | head -n 10 | numfmt --to=iec --field=4 | awk '{print $4 \"\t\" $5}'"
ls-gh-limit = !"git ls-tree -l --full-tree -r HEAD | awk '/blob/' | awk '$4 >= 100*(2^20)' | numfmt --to=iec --field=4 | awk '{print $4 \"\t\" $5}'"
ls-ignored = ls-files -o -i --exclude-standard
ls-changed = ls-files -m
ls-cached = diff --cached --name-only --relative -- .


hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
ign = ls-files -o -i --exclude-standard # Show files ignored by git
Expand Down

0 comments on commit e8e456d

Please sign in to comment.