摘要:
git clone path git pull git push orign localBranch:originBranch //根据本地分支新建一个远程分支,用于提mr代码。 git checkout -b mybranch origin/mybranch git fetch -> git re 阅读全文
摘要:
function isEmpty(v) { switch (typeof v) { case 'undefined': return true; case 'string': if (v.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) 阅读全文
摘要:
npm install 下载内部tgz包的时候会走不下去,卡住的情况。 1. 打开info level的log,供参考 npm config set loglevel info 2. 用wget(或其他方式)下载所需要的包,如xxx.tgz 3. 用以下命令把下载到的包添加到npm cache目录中 阅读全文