Aug 19, 2024
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.