摘要:
var now = new Date(); var year = now.getFullYear(); //得到年份 var month = now.getMonth();//得到月份 var date = now.getDate();//得到日期 var day = now.getDay();// 阅读全文
摘要:
有时 git checkout 分支名 的时候会报错:error: pathspec 'dev' did not match any file(s) known to git 。 这是因为本地没有更新过,git不知道有当前分支的存在,执行git pull,然后在 git checkout 分支名 就 阅读全文