diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-26 15:38:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-26 15:38:48 -0300 |
commit | 7a384863e7d4ccab9566d4766055bd1eb248f4cc (patch) | |
tree | 513955c380424b6720d6013b94a7f19c9be77d21 | |
parent | 0ff6b4c354ca94136142613ec92faf3ccd3f2c96 (diff) | |
download | all-7a384863e7d4ccab9566d4766055bd1eb248f4cc.tar.gz all-7a384863e7d4ccab9566d4766055bd1eb248f4cc.tar.bz2 all-7a384863e7d4ccab9566d4766055bd1eb248f4cc.tar.xz all-7a384863e7d4ccab9566d4766055bd1eb248f4cc.zip |
Command to pull with information: ```./pull.sh more```
-rwxr-xr-x | pull.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |