Hello! I’ve started a new blog. For my first post I’m going to share a Git configuration trick that I often use to work around this dang ol’ error message when trying to push a locally created branch to a remote repository:
fatal: The current branch <X> has no upstream branch.
Set Git to always create the remote branch on push:
git config --global push.default current