Skip to content

Commit

Permalink
Add gdc alias for git diff --cached
Browse files Browse the repository at this point in the history
  • Loading branch information
pcgilday committed Mar 15, 2024
1 parent 5d1af43 commit e3c7ad2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ alias gai="git add --patch --interactive"
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gd="git diff"
alias gdc="git diff --cached"
alias gl="git pull"
alias glr="git pull --rebase"
alias gf="git fetch"
Expand Down Expand Up @@ -108,3 +109,4 @@ git-refresh() {
findreplace() {
find $3 -type f -exec sed -i '' -e "s/${1}/${2}/g" '{}' \;
}

0 comments on commit e3c7ad2

Please sign in to comment.