windows 使用管理员身份启动CMDnpm cache clean -fMac 使用sudosudo npm cache clean -f
下面是我整理的常用 Git 命令清单。几个专用名词的译名如下。Workspace:工作区Index / Stage:暂存区Repository:仓库区(或本地仓库)Remote:远程仓库本地分支关联远程git branch --set-upstream-to=origin/分支名 分支名代码库修改密码后push不上去怎么办?// 重新输入密码 git config --system --unset credential.helper // 密码存储同步 git config --global credential.helper store一、新建代码库# 在当前目录新建一个Git代码库...
var u = navigator.userAgent, app = navigator.appVersion; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; // 安卓终端 var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 if (isAndroid) { console.log("Andriod"); window.location.href = 'cos1://open?t...