Community
Participate
Working Groups
If I have a Git repository with a remote configured as: $ git remote -v origin git://git.eclipse.org/gitroot/platform/eclipse.platform.runtime.git (fetch) origin ssh://ablewitt@git.eclipse.org:29418/platform/eclipse.platform.runtime (push) On the command line, 'git push' will use the ssh variant. When I click on 'Commit and Push' from the Git Staging view, it will use the 'url' instead of the 'pushurl' for the repository (which will fail in this case). It would be good if the commit-and-push button and wizard could auto-select the pushurl if it exists in the configuration.
Somehow I cannot reproduce this. Could you post the whole git config?
If you have the url and pushurl as different, in the drop-down list it defaulted to the url (in my case). I was able to change it in the dialog so that it chose the pushurl and use that; but my point is that it should be the default :) Here was my .git config: --- 8< --- [core] repositoryformatversion = 0 filemode = true logallrefupdates = true precomposeunicode = true [remote "origin"] url = git://git.eclipse.org/gitroot/platform/eclipse.platform.runtime.git fetch = +refs/heads/*:refs/remotes/origin/* pushurl = ssh://ablewitt@git.eclipse.org:29418/platform/eclipse.platform.runtime push = HEAD:refs/for/master [branch "master"] remote = origin merge = refs/heads/master [branch "bug563262"] remote = origin merge = refs/heads/master --- 8< ---
Can you try with EGit nightly? I cannot reproduce this with current master. The dialog uses the configured pushurl for me.
Will do, and report back.
Alex, I've never been able to reproduce this. Is this still an issue?