Re: [PATCH v3] remote: add --save-to-push option to git remote set-url

2018-11-13 Thread Junio C Hamano
Denton Liu writes: > This adds the --save-to-push option to `git remote set-url` such that > when executed, we move the remote.*.url to remote.*.pushurl and set > remote.*.url to the given url argument. > > For example, if we have the following config: > > [remote "origin"] >

[PATCH v3] remote: add --save-to-push option to git remote set-url

2018-11-08 Thread Denton Liu
This adds the --save-to-push option to `git remote set-url` such that when executed, we move the remote.*.url to remote.*.pushurl and set remote.*.url to the given url argument. For example, if we have the following config: [remote "origin"] url = g...@github.com:git/git.g