瀏覽代碼

Clarified instructions

emersonthis 10 年之前
父節點
當前提交
5508bb8725
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      doc/05-repositories.md

+ 2 - 0
doc/05-repositories.md

@@ -263,6 +263,8 @@ custom repository has priority over packagist. If you want to rename the
 package, you should do so in the default (often master) branch and not in a
 feature branch, since the package name is taken from the default branch.
 
+Also note that the override will not work if you change the `name` property in your forked repository's composer.json file as this needs to match the original for the override to work.
+
 If other dependencies rely on the package you forked, it is possible to
 inline-alias it so that it matches a constraint that it otherwise would not.
 For more information [see the aliases article](articles/aliases.md).