4 ms·
I only switch branches manually too, but I work in many repos and come back to stuff after days sometimes.
by fkyoureadthedoc 1y ago
I only switch branches manually too, but I work in many repos and come back to stuff after days sometimes.
- gcarvalho 1y agoEven if I know my current branch, having my prompt show me untracked/uncommitted/unpushed changes helps to identify if something didn’t work because I’m in a dirty state, or if something I ran (unexpectedly) caused a dirty state. For example, I don’t expect running scripts/build.sh to modify tracked files in the repo. Seeing part of the prompt go from “” to “?2!3” (two untracked, three changed files) makes that glaringly obvious.
- 0points 1y ago"git status" is all you need then.
- acedTrex 1y agoThen you have to remember to run this regularly. Which i regularly forget in tmux autopilot mode. The prompt serves as one last headsup reminder. Even then sometimes I dont look at it and have to roll some stuff back