It replaces everything before the repo-specific path.
Attach a file by drag & drop or click to upload