Re: man page for "git remote set-url" seems confusing/contradictory
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Apr 16, 2018, 16:14 UTC
- Message-ID
- <87y3hn5drx.fsf@linux-m68k.org>
- In-Reply-To
- <alpine.LFD.2.21.1804160538100.3564@localhost.localdomain>
On Apr 16 2018, "Robert P. J. Day" <rpjday@crashcourse.ca> wrote:
Show 5 quoted lines
> i don't understand how you can clearly set the fetch and push URLs of > a remote independently, while the man page nonetheless insists that > "even though they can be set differently, must still refer to the same > place". how can they be set differently yet still must refer to the > same place?
They could be using different transport methods. For example, for fetching the unauthenticated git: method could be used, but for pushing an authenticated method like ssh: is usually needed.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."