From 4f8b57bab83c0a2cdbd8adf72b24330703145634 Mon Sep 17 00:00:00 2001 From: arcolinuxz Date: Thu, 29 Dec 2022 09:52:50 +0100 Subject: [PATCH] up --- 9-get-all-alci-gits-v1.sh | 52 --------------------------------------- git-v2.sh => up+.sh | 33 +++++++++++++++++-------- 2 files changed, 23 insertions(+), 62 deletions(-) delete mode 100755 9-get-all-alci-gits-v1.sh rename git-v2.sh => up+.sh (63%) diff --git a/9-get-all-alci-gits-v1.sh b/9-get-all-alci-gits-v1.sh deleted file mode 100755 index a50b58f..0000000 --- a/9-get-all-alci-gits-v1.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash -# -################################################################################################################## -# Written to be used on 64 bits computers -# Author : Erik Dubois -# Website : http://www.erikdubois.be -################################################################################################################## -################################################################################################################## -# -# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. -# -################################################################################################################## - -echo "This gets all the existing githubs at once" -echo "Fill the array with the original folders first" - -# use ls -d */ > list to get the list of the created githubs and copy/paste in - -directories=( -alci-calamares-config/ -alci-calamares-config-btrfs/ -alci-calamares-config-dev/ -alci-calamares-config-hardened/ -alci-calamares-config-lts/ -alci-calamares-config-pure/ -alci-calamares-config-xanmod/ -alci-calamares-config-zen/ -alci-dwm/ -alci-dwm-nemesis/ -alci-iso/ -alci-iso-dev/ -alci-iso-hardened/ -alci-iso-lts/ -alci-iso-pure/ -alci-iso-xanmod/ -alci-iso-zen/ -alci-pkgbuild/ -alci_repo/ -nemesis-wallpapers/ -) - -count=0 - -for name in "${directories[@]}"; do - count=$[count+1] - tput setaf 1;echo "Github "$count;tput sgr0; - # if there is no folder then make one - git clone https://github.com/arch-linux-calamares-installer/$name - echo "#################################################" - echo "################ "$(basename `pwd`)" done" - echo "#################################################" -done diff --git a/git-v2.sh b/up+.sh similarity index 63% rename from git-v2.sh rename to up+.sh index 55a3c5f..1a6d204 100755 --- a/git-v2.sh +++ b/up+.sh @@ -1,20 +1,34 @@ #!/bin/bash #set -e ################################################################################################################## -# Author : Erik Dubois -# Website : https://www.erikdubois.be -# Website : https://www.arcolinux.info -# Website : https://www.arcolinux.com -# Website : https://www.arcolinuxd.com -# Website : https://www.arcolinuxforum.com +# Author : Erik Dubois +# Website : https://www.erikdubois.be +# Website : https://www.alci.online +# Website : https://www.ariser.eu +# Website : https://www.arcolinux.info +# Website : https://www.arcolinux.com +# Website : https://www.arcolinuxd.com +# Website : https://www.arcolinuxb.com +# Website : https://www.arcolinuxiso.com +# Website : https://www.arcolinuxforum.com ################################################################################################################## # # DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. # ################################################################################################################## -# change a commit comment -# git commit --amend -m "more info" -# git push --force origin +#tput setaf 0 = black +#tput setaf 1 = red +#tput setaf 2 = green +#tput setaf 3 = yellow +#tput setaf 4 = dark blue +#tput setaf 5 = purple +#tput setaf 6 = cyan +#tput setaf 7 = gray +#tput setaf 8 = light blue +################################################################################################################## + +# reset - commit your changes or stash them before you merge +# git reset --hard - personal alias - grh echo "Deleting the work folder if one exists" [ -d work ] && rm -rf work @@ -49,7 +63,6 @@ if grep -q master .git/config; then git push -u origin master fi - echo "################################################################" echo "################### Git Push Done ######################" echo "################################################################"