diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-10-29 10:01:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-30 12:48:45 +0900 |
commit | 26b061007c1259ed4692554994961dd26874e63e (patch) | |
tree | 88e9e2272c173351cf26df641cb19de68d16ef99 /exec-cmd.c | |
parent | Git 2.24-rc1 (diff) | |
download | tgif-26b061007c1259ed4692554994961dd26874e63e.tar.xz |
submodule: teach set-url subcommand
Currently, in the event that a submodule's upstream URL changes, users
have to manually alter the URL in the .gitmodules file then run
`git submodule sync`. Let's make that process easier.
Teach submodule the set-url subcommand which will automatically change
the `submodule.$name.url` property in the .gitmodules file and then run
`git submodule sync` to complete the process.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'exec-cmd.c')
0 files changed, 0 insertions, 0 deletions