首页 > 解决方案 > 如何将 git 命令转换为纱线,特别是 git remote add origin?

问题描述

我最近才开始使用带有 gh-pages 的 yarn。如何将此命令转换为纱线:

$ git remote add origin https://github.com/gitusername/react-gh-pages.git

这不起作用:$ yarn remote add https://github.com/gitusername/react-gh-pages.git

标签: gityarnpkg

解决方案


推荐阅读