commit 4b2d13cce042d396cfa7b045a4087f063c0445ac
parent fa6438fd27f89c53bd6efcd74190cd87ed474b01
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date: Mon, 13 May 2024 14:26:34 -0500
bash: added git log function
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -71,6 +71,9 @@ git() {
echo " - git diff-files"
echo " - git ls-files --exclude-standard -o"
echo " - git status -bs"
+ elif [ $1 = "log" ]; then
+ echo "Use"
+ echo " - git rev-list HEAD"
else
command git $git_args "$@"
fi