あるリモートからプルして別のリモートにプッシュするブランチがあり、Ugit branch --set-upstream-to=xxxx xxxxはプル レポgit config remote.origin.pushurl user@user.com:repo.gitを設定し、プッシュ レポを設定していました。
プルはmasterソース リポジトリのブランチからのものですが、宛先リポジトリpushのブランチに移動します。upstream
ブランチに切り替えて実行するgit pushと、通常の--global push.defaultメッセージが表示されます。
warning: push.default is unset; its implicit value has changed in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the traditional behavior, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
特定のブランチに対して、値ではなく、リモートのどのブランチにプッシュするかを指定する方法はありますpush.defaultか?プルに対しても同様です?