From 7a384863e7d4ccab9566d4766055bd1eb248f4cc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 26 Jul 2018 15:38:48 -0300 Subject: Command to pull with information: ```./pull.sh more``` --- pull.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pull.sh b/pull.sh index d0c06ba..3272e1d 100755 --- a/pull.sh +++ b/pull.sh @@ -9,6 +9,10 @@ function status { DIR=$(pwd) cd "$1" echo "$2 ($(git symbolic-ref --short -q HEAD)):" + if [[ "${CMD}" == "more" ]]; then + git last + fi + if [[ "${CMD}" == "force" ]]; then git pull --commit --no-edit cd "$DIR" -- cgit v1.2.3-60-g2f50