Except now, when git pull chastises you for now having "No remote repository specified". Gah!
Today's tip is just a quick way around this without going in an messing with config files (I've done it once, but it was a bit hairy on some of the other repositories I tried repeating the feat on, hence the advice today).
From a posting on StackOverflow, I found the following gem:
git branch --set-upstream local_branch remote/remote_branch
In practice:
- local_branch = remote_branch --> Unless for whatever reason you've given things strange names
- remote = the short name you gave the remote repository when you added it as a remote (NOTE: this is more convenient that trying to remember and lug around those great heaping SSH-URL's that are usually needed). For me, this is either "Bitbucket" or "Github" or "Gitorious"