解决git pull报错 “fatal: No remote repository specified.”

在frameworks/base 执行git pull 遇到了报错 “fatal: No remote repository specified.  Please, specify either a URL or a remote name from which new revisions should be fetched.”,

解决方法如下:

在项目根目录 重新执行

$repo init *******repo.git

$repo sync frameworks/base

再在frameworks/base  git pull就可以了。

你可能感兴趣的:(git)