Hacker News new | ask | show | jobs
by otikik 597 days ago
Thanks. I found a way to do it with just git. No oh-my-zsh necessary:

git config --global alias.track '!git branch -u origin/$(git branch --show-current)'