From 2718b03ab75377663030501030b8bf6a12074d83 Mon Sep 17 00:00:00 2001 From: Eduard Iten Date: Tue, 10 Feb 2026 16:40:18 +0100 Subject: [PATCH] =?UTF-8?q?Aliase=20f=C3=BCr=20git=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh_func_d/git_alias.zsh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 zsh_func_d/git_alias.zsh diff --git a/zsh_func_d/git_alias.zsh b/zsh_func_d/git_alias.zsh new file mode 100644 index 0000000..d2c6dc3 --- /dev/null +++ b/zsh_func_d/git_alias.zsh @@ -0,0 +1,13 @@ +if [ -x "$(command -v git)" ]; then + alias gs="git status -sb" + alias gss="eza --long --header --git --icons" + alias gl="git log --oneline --graph --decorate" + alias gp="git push" + alias gpf="git push --force-with-lease" # Die sichere Variante von force + alias glp="git pull" + alias gd="git diff" + alias gc="git commit -v" + alias gca="git commit -v -a" + alias gtoday="git log --since='00:00:00' --all-match --format='%C(bold blue)%as%Creset %C(yellow)%h%Creset %s'" + alias glol="git log --graph --pretty=format:'%C(yellow)%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" +fi