Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Once the first git remote is found, we iterate over all the values and overwrite the values. For example, having: ``` [remote "origin"] url = [email protected]:Sgitario/dekorate.git fetch = +refs/heads/*:refs/remotes/origin/* [remote "upstream"] url = [email protected]:dekorateio/dekorate.git fetch = +refs/heads/*:refs/remotes/upstream/* [remote "auri"] url = https:/aureamunoz/dekorate fetch = +refs/heads/*:refs/remotes/auri/* ``` Will produce a map of only an entry with: ``` 'remote "origin"': https:/aureamunoz/dekorate ``` Because https:/aureamunoz/dekorate, it's the last value. Also, the logic about remotes need to be aligned with this in the TektonManifestGenerator.
- Loading branch information