[Bug 1314627] Re: RFE: allow for easier setting of pushURL

Anders Kaseorg andersk at mit.edu
Wed Apr 30 19:57:52 UTC 2014


There is one:

git config --global url.git+ssh://git.debian.org/.pushinsteadof
git://git.debian.org/

You could even set it globally for all hosts, although I wouldn’t
recommend it because not every host works this way:

git config --global url.git+ssh://.pushinsteadof git://

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1314627

Title:
  RFE: allow for easier setting of pushURL

Status in “git” package in Ubuntu:
  Invalid

Bug description:
  Git allows to set different URLs for fetch and push.  This is nice for
  repositories where one has push access.  Push will happen over ssh
  while fetching happens over normal git protocol.  It's a bit
  cumbersome to set up and it would be nice if there was a switch to
  have this behave as default.

  $ git remote -v show
  origin	git://git.debian.org/git/collab-maint/libcapi20.git (fetch)
  origin	git+ssh://git.debian.org/git/collab-maint/libcapi20.git (push)

  For anyone who wants ssh access this could be a sane default to drop
  back to normal git-transport for fetching.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1314627/+subscriptions



More information about the foundations-bugs mailing list