summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-26 15:38:48 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-26 15:38:48 -0300
commit7a384863e7d4ccab9566d4766055bd1eb248f4cc (patch)
tree513955c380424b6720d6013b94a7f19c9be77d21
parent0ff6b4c354ca94136142613ec92faf3ccd3f2c96 (diff)
downloadall-7a384863e7d4ccab9566d4766055bd1eb248f4cc.tar.gz
all-7a384863e7d4ccab9566d4766055bd1eb248f4cc.tar.bz2
all-7a384863e7d4ccab9566d4766055bd1eb248f4cc.tar.xz
all-7a384863e7d4ccab9566d4766055bd1eb248f4cc.zip
Command to pull with information: ```./pull.sh more```
-rwxr-xr-xpull.sh4
1 files changed, 4 insertions, 0 deletions
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"