How To Extract Time Machine Logs Via Terminal

1 |
clear; printf '\e[3J' && log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 24h | grep -F 'eMac' | grep -Fv 'etat' | awk -F']' '{print substr($0,1,19), $NF}' |
![]() |
1 |
clear; printf '\e[3J' && log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 24h | grep -F 'eMac' | grep -Fv 'etat' | awk -F']' '{print substr($0,1,19), $NF}' |
Show All Branches, Local and Remote
1 |
git branch -a |
Show Local Branches
1 |
git branch |
Show Remote Branches
1 |
git branch -r |
To fetch all remote branches locally
1 2 3 |
git branch -r | grep -v '\->' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | while read remote; do git branch --track "${remote#origin/}" "$remote"; done git fetch --all git pull --all |
1 2 |
cd {repository_directory} git remote -v show |