This commit is contained in:
Wilfried Kopp
2022-08-05 11:30:16 +02:00
committed by Chevdor
parent e4870e5e49
commit 45d338cb7c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
grv=$(git remote --verbose | grep push)
export RUST_LOG=none
REPO=$(echo "$grv" | cut -d ' ' -f1 | cut -d$'\t' -f2 | cut -d '/' -f2 | cut -d '.' -f1 | sort | uniq)
REPO=$(echo "$grv" | cut -d ' ' -f1 | cut -d$'\t' -f2 | sed 's/.*github.com\/\(.*\)/\1/g' | cut -d '/' -f2 | cut -d '.' -f1 | sort | uniq)
echo "[+] Detected repo: $REPO"
BRANCH=$(git branch --show-current)