I find that every time I checkout a local branch, I do a git status. I want to add a git status to my alias for checkout to be more efficient.
I already have the following simple alias for checkout:
alias.co=checkout
I'd like to modify it so that no matter what arguments I provide to 'git co', it will always perform:
git co && git st
So for example, I could any of the following, and the alias should perform a git status afterwards:
git co -b newbranch
git co anotherbranch
git co -b andanother --track newbranch
git co -- "*.c"