Bicep | File Reference in a Git Repository Containing Spaces
Problem Space I recently started working on a Git Repository (not of my own creation) that had a repository name containing spaces.
As a helping hand when a repository is created with spaces in the name, the spaces are replaced with %20 when cloned … Unless otherwise specified, however, this would then need to be specified whenever another user/pipeline clones the repo. See the git command below:
git clone https://.../.../my%20repo myrepo My best practice answer would be, don’t create repositories with names containing spaces, but this one already did.
Posted by Andrew Wilson on Friday, January 6, 2023