git cheat sheet - adcroft/MOM6 GitHub Wiki
Can't remember which is your latest branch? This lists your local branch with date of last commit:
git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'
Can't remember which is your latest branch? This lists your local branch with date of last commit:
git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'