zephyrproject-rtos/west

Use "origin" as remote name when initializing repositories

开放

#942 创建于 2026年4月9日

 (10 条评论) (1 个反应) (0 位负责人)Python (157 个派生)auto 404
good first issuepriority: low

仓库指标

星标
 (350 个星标)
PR 合并指标
 (平均合并 6天 10小时) (30 天内合并 10 个 PR)

描述

West does not use remotes in the Git repositories it creates, it always uses URLs for fetching. But it configures a remote for the user's convenience with the name of the remote attribute in the manifest.

In our manifest files we are currently using different remotes. And for our users it is cumbersome having to look up or having to remember the remote name of each project. Our workflow could be simplified if all the remotes are just named "origin". Also custom scripts could be made simpler if they don't have to look up the remote name first.

Please add an option to create all repositories with the remote name "origin" (or what Git's global config value clone.defaultRemoteName is set to).

This could also help #257

贡献者指南