1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
79dc6a7389
aliases: git: Strip a/b prefix from paths by default
This makes double-click copy/paste much easier

Signed-off-by: Joe Groocock <me@frebib.net>
2023-02-28 09:54:31 +00:00
fede67c22a
aliases: git: Add missing gfp/gt aliases
Signed-off-by: Joe Groocock <me@frebib.net>
2023-02-28 09:54:31 +00:00

12
aliases
View File

@ -126,8 +126,10 @@ alias gca="git commit -s --amend --date=\"\$(date -R)\""
alias gcn="git commit -s --no-edit"
alias gcan="gca -s --no-edit"
alias gcam="gca -s -m"
alias gt="git tag"
alias gst="git status"
alias grl="git reflog"
alias gfp="git format-patch"
alias gm="git merge"
alias gma="git merge --abort"
@ -166,10 +168,10 @@ alias gpsuom="git push --set-upstream origin \"\$(git defbranch)\""
alias gpall="git remote | xargs -L1 git push"
alias gl="git pull --rebase"
alias glp="gl && gp"
alias gd="git diff --patch-with-stat"
alias gdni="gd --no-index"
alias gds="gd --staged"
alias gsh="git show --format=fuller --patch-with-stat"
alias gd="git diff --patch-with-stat --no-prefix"
alias gdni="gd --no-index --no-prefix"
alias gds="gd --staged --no-prefix"
alias gsh="git show --format=fuller --patch-with-stat --no-prefix"
alias glg="git log --color --format=fuller --stat --no-merges --graph"
alias glgp="git log --color --format=fuller --patch-with-stat --no-merges --graph"
alias glog="git log --color --oneline --decorate --graph"
@ -192,7 +194,7 @@ alias gsta='git stash'
alias gstd='gsta drop'
alias gstl='gsta list --stat --color'
alias gstp='gsta pop'
alias gstv="gsta show -p stash@{0}"
alias gstv="gsta show --patch-with-stat stash@{0}"
# Docker aliases
alias d=docker