Created
June 10, 2020 10:14
-
-
Save anton-roos/b0eb11d91aa05814b37006dda38b0d80 to your computer and use it in GitHub Desktop.
Get all latest commits per branch sort by latest commit after git pull.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git pull | |
echo "Git pull done, fetching timetable..." | |
for branch | |
in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; | |
done | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment