From: Erik V. <eri...@xs...> - 2012-10-06 17:58:58
|
> > remote.origin.push=refs/heads/master:refs/heads/master > > This line isn't needed. A better way (imo) would be to set an alias. > > But it's also functionally equivalent to "git push origin master" I don't trust myself remembering that every time. What I want is to have 'git push' upload just the one (maybe two) branch(es) with which I work, or into which I merge my local branches. All my own local branches that do not exist in the remote repo should be excluded from uploading. I want just the simple 'git push' do that, as it does now, because the current configuration makes me push 'master' only. How can I set that up without 'remote.origin.push'? Erik. |