mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
aliases: git: Add -v to git commit
Shows full patch in the commit message editor. Very handy, yes Signed-off-by: Joe Groocock <jgroocock@cloudflare.com>
This commit is contained in:
parent
2cc93a1649
commit
1da55a29c4
35
aliases
35
aliases
@ -110,9 +110,20 @@ alias ginit='git init'
|
|||||||
alias gignore='$EDITOR .gitignore'
|
alias gignore='$EDITOR .gitignore'
|
||||||
alias gitc='$EDITOR $XDG_CONFIG_HOME/git/config'
|
alias gitc='$EDITOR $XDG_CONFIG_HOME/git/config'
|
||||||
alias ggignore='$EDITOR $XDG_CONFIG_HOME/git/gitignore'
|
alias ggignore='$EDITOR $XDG_CONFIG_HOME/git/gitignore'
|
||||||
alias gcl="git clone --recursive"
|
|
||||||
alias gco="git checkout"
|
alias gco="git checkout"
|
||||||
alias gcom="git checkout \"\$(git defbranch)\""
|
alias gcom="git checkout \"\$(git defbranch)\""
|
||||||
|
alias gsw="git switch"
|
||||||
|
alias gswm="git switch \"\$(git defbranch)\""
|
||||||
|
alias gbr="git branch"
|
||||||
|
alias gtg="git tag"
|
||||||
|
alias gbl="git blame"
|
||||||
|
alias gt="git tag"
|
||||||
|
alias gst="git status"
|
||||||
|
alias grl="git reflog"
|
||||||
|
alias gfp="git format-patch"
|
||||||
|
alias gcl="git clone --recursive"
|
||||||
|
|
||||||
alias ga="git add"
|
alias ga="git add"
|
||||||
alias gap="git add -p"
|
alias gap="git add -p"
|
||||||
alias gau="git add -u"
|
alias gau="git add -u"
|
||||||
@ -120,19 +131,17 @@ alias gaN="git add -N"
|
|||||||
alias gaa="ga -A"
|
alias gaa="ga -A"
|
||||||
alias grm="git rm"
|
alias grm="git rm"
|
||||||
alias gmv="git mv"
|
alias gmv="git mv"
|
||||||
alias gc="git commit -s"
|
|
||||||
alias gcm="git commit -s -em"
|
alias gc="git commit -sv"
|
||||||
alias gca="git commit -s --amend --date=\"\$(date -R)\""
|
alias gcm="git commit -sv -em"
|
||||||
alias gcn="git commit -s --no-edit"
|
alias gca="git commit -sv --amend --date=\"\$(date -R)\""
|
||||||
alias gcan="gca -s --no-edit"
|
alias gcn="git commit -sv --no-edit"
|
||||||
alias gcam="gca -s -m"
|
alias gcan="gca --no-edit"
|
||||||
alias gt="git tag"
|
alias gcam="gca -m"
|
||||||
alias gst="git status"
|
|
||||||
alias grl="git reflog"
|
|
||||||
alias gfp="git format-patch"
|
|
||||||
|
|
||||||
alias gm="git merge"
|
alias gm="git merge"
|
||||||
alias gma="git merge --abort"
|
alias gma="git merge --abort"
|
||||||
|
alias gmc="git merge --continue"
|
||||||
|
|
||||||
alias grb="git rebase"
|
alias grb="git rebase"
|
||||||
alias grbi="grb -i"
|
alias grbi="grb -i"
|
||||||
@ -180,10 +189,8 @@ alias grst="git reset"
|
|||||||
alias gundo="git reset --keep @~1"
|
alias gundo="git reset --keep @~1"
|
||||||
alias gclean="git clean"
|
alias gclean="git clean"
|
||||||
alias gclm="git cleanmerged"
|
alias gclm="git cleanmerged"
|
||||||
alias gbr="git branch"
|
|
||||||
alias gbrl="git for-each-ref --sort=committerdate refs/heads/ --format=\"%(refname:short)\" | fzf -x --ansi --multi --preview-window=right:70% --preview=\"git log --format=fuller --stat --color=always {} | head -n\$((\$(tput lines)*10))\""
|
alias gbrl="git for-each-ref --sort=committerdate refs/heads/ --format=\"%(refname:short)\" | fzf -x --ansi --multi --preview-window=right:70% --preview=\"git log --format=fuller --stat --color=always {} | head -n\$((\$(tput lines)*10))\""
|
||||||
alias gtg="git tag"
|
|
||||||
alias gbl="git blame"
|
|
||||||
alias gr="git remote"
|
alias gr="git remote"
|
||||||
alias gra="gr add"
|
alias gra="gr add"
|
||||||
alias grr="gr rm"
|
alias grr="gr rm"
|
||||||
|
Loading…
Reference in New Issue
Block a user