commit fa6438fd27f89c53bd6efcd74190cd87ed474b01
parent 095d29d7b9f900f7e11c9b688bceb4bc4fa93e8e
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date: Mon, 13 May 2024 14:23:02 -0500
bash: update git status command
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -67,9 +67,9 @@ git() {
echo " - git update-index --add --remove --cacheinfo 100644 sha1 filename"
elif [ $1 = "status" -a $# = 1 ]; then
echo "Use"
- echo " - git diff-files --name-only"
- echo " - git diff-index --name-only HEAD"
- echo " - git ls-files -mot"
+ echo " - git diff-index --cached HEAD"
+ echo " - git diff-files"
+ echo " - git ls-files --exclude-standard -o"
echo " - git status -bs"
else
command git $git_args "$@"