I have two remotes configured for my working copy. One I use regularly - it is called origin. Another I use for occasional backup - it is called assembla. Now when I pull from assembla, I always get this:
$ git pull assembla
You asked to pull from the remote 'assembla', but did not specify
a branch. Because this is not the default configured remote
for your current branch, you must specify a branch on the command line.
This is easily resolved like this:
$ git pull assembla master
but I don't want to add master
to the command every time I do that.
Is there any way to pre-configure "default" local branch for each remote, to make the command shorter?
Just in case: I don't want to change the default configured remote for this branch, as proposed here.