diff --git a/dbg.clone b/dbg.clone index cb16876..57b96d1 100755 --- a/dbg.clone +++ b/dbg.clone @@ -18,6 +18,7 @@ git fetch --all # Find out the latest commit in the whole repo git branch -av --sort=-committerdate +git branch -av --sort=-committerdate | head -n1 cmt=`git branch -av --sort=-committerdate | head -n1 | cut -d' ' -f4` echo "Latest commit: $cmt"