diff --git a/.config/linux/system/module/common/bash/module/Git.sh b/.config/linux/system/module/common/bash/module/Git.sh index 3e4ffb9..e596382 100644 --- a/.config/linux/system/module/common/bash/module/Git.sh +++ b/.config/linux/system/module/common/bash/module/Git.sh @@ -169,7 +169,7 @@ function gg() { # Usage: gdc [COMMITHASH] function gdc() { local hash="${1}" - [[ "${hash}" = "" ]] && hash="HEAD~" + [[ "${hash}" = "" ]] && hash="HEAD" git diff "${hash}^!" }