Git Alias – Multiple Commands and Parameters

This will work (tested with zsh and bash):

[alias] chs = !git checkout $1 && git status

Leave a Comment