Skip to contents

Converts Git remotes to a stable comparable form.

Usage

normalize_git_remote(x)

Arguments

x

Character vector of Git remotes.

Value

Character vector of normalized Git repository identifiers.

Details

Normalization currently:

  • converts GitHub SSH remotes to HTTPS form

  • removes trailing .git

  • removes trailing /