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

2018-11-08 Thread Junio C Hamano
Denton Liu writes: > This adds the --save-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

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

2018-11-08 Thread Denton Liu
This adds the --save-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.git