dotfiles

Dash Eclipse's dotfiles
git clone git://ezup.dev/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 25c08548b5cd6b7471e1ec2074bba753b371872e
parent 96a435861b560eaed571fa4525a765a5347733c1
Author: Dash Eclipse <dashezup@disroot.org>
Date:   Fri, 25 Mar 2022 14:48:37 +0000

feat: git config: add alias "git alias"

Diffstat:
M.config/git/config | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/.config/git/config b/.config/git/config @@ -60,7 +60,9 @@ # Compact and Full Logs lc = log --graph --pretty=xoneline lf = log --graph --stat --pretty=xfull + # Misc # git arc [tar|tgz|tar.gz|zip] # git archive --list # zcat repo_2022-03-22_feat-initial-commit.tar.gz | git get-tar-commit-id arc = "!f() { test -z \"$1\" && return 1; FMT=\"$1\"; RN=\"$(basename $(git rev-parse --show-toplevel))\"; EN=\"$(git log -1 --oneline --pretty=%as_%f)\"; git archive --format=\"$FMT\" -o \"${RN}_${EN}.${FMT}\" --prefix=\"${RN}/\" HEAD; }; f" + alias = "!git config -l | grep alias | cut -c 7- | column -s'=' -t -l2 | GREP_COLORS='ms=1;32' egrep --color 'f\\(\\)|$'"