Before you close the laptop: an end-of-day Git check
Four questions, two minutes. Ask them before you shut the lid, and tomorrow's you won't open a repository to find work you forgot.
1. What is committed but not pushed?
Those commits exist only on this Mac. List them across every local branch:
git log --branches --not --remotes --onelineNo output means every commit has a copy on the remote. Find unpushed commits across all your repositories.
2. What is changed but not committed?
Edits you haven't committed aren't in Git at all. In each repository:
git status --shortCommit it, or decide where it waits. Find uncommitted changes across all your repositories, worktrees included.
3. What did you stash?
A stash is easy to forget because nothing in the working folder shows it:
git stash listIf the answer is longer than you expected, see when a stash should be a commit instead.
4. Which worktrees are finished?
Every task that got its own worktree leaves a folder and a branch behind. See what you have:
git worktree listRemove the ones you're done with, once their work is pushed. Clean up old Git worktrees and merged branches.
Or let your Mac keep the list
The check is simple. Running it in every repository, every evening, is the part that slips. push& (Pushand) is a Mac menu bar app that watches the repositories and worktrees you choose and counts the commits waiting to be pushed. Glance at the count, expand a repository to read what is waiting, and push a ready branch in one click. Free lets you push in 3 repositories.
For finished work, review which worktrees you can remove and how much space you’ll free. Cleanup requires Pro or higher, or the 14-day Unlimited trial.
For a quick check between tasks, see what’s still unpushed in the repo you just left.