assistant: When built with git before 1.8.0, use git remote rm to delete a remote. Newer git uses git remote remove.

This commit is contained in:
Joey Hess 2013-04-22 16:53:09 -04:00
parent 9ca9c1f747
commit 450baa02e9
3 changed files with 17 additions and 1 deletions

View file

@ -35,3 +35,12 @@ The log shows:
> Seems that `git remote remove` is new as of git 1.8.0 or so.
> Older gits only support `git remote rm`. Which newer gits
> support as well. but it seems to be in the process
> of being deprecated so I'd rather not use it.
>
> So, I've made the version of git it's
> built for determine which subcommand it uses. [[done]] --[[Joey]]
>
> (You can run `git remote rm repo` by hand to clean up from this BTW.)