magit操作
手動コマンドラインなら、
cd /path/to/my/repo git remote add origin https://m_hiyama@bitbucket.org/m_hiyama/git-module-test1.git git push -u origin --all # pushes up the repo and its refs for the first time git push -u origin --tags # pushes up any tags
M-x magit-init, M-x magit-remote-add はいい。
magitバッファから P -u P は、git push --set-upstream master を実行しようとする。実際には、git.exe push -v --set-upstream origin --all が必要だが、originと--allのmagitからの指定方法が分からない。対話的にoriginを入れても、なぜかmasterになってしまう。
[追記]分かった。P -u P の対話的プロンプトに対して、origin/master と入れるのだ。[/追記]