This commit is contained in:
Михаил Капелько
2025-11-09 06:40:02 +03:00
parent faf0c5b23d
commit 40d5810317

View File

@@ -19,7 +19,7 @@ git fetch --all
# Find out the latest commit in the whole repo
git branch -av --sort=-committerdate
git branch -av --sort=-committerdate | tr -s ' ' | head -n1
cmt=`git branch -av --sort=-committerdate | tr -s ' ' | head -n1 | cut -d' ' -f4`
cmt=`git branch -av --sort=-committerdate | tr -s ' ' | head -n1 | cut -d' ' -f3`
echo "Latest commit: $cmt"
# Switch to the latest branch