Never think about branch names again
I recommend swapping out max to basically anything else.
To use on macOS/linux, you can paste the above into a file in /usr/local/bin and make it executable with chmod +x /usr/local/bin/gcb.
I also recommend setting your git settings to sort branches by committerdate so that you can easily find the branch you worked on most recently:
This does work with the default alphabetical sorting, but this works better if you work on features over long periods of time.
评论
?
参与讨论