09 2023 档案

摘要:#git fetch --all #git reset --hard origin/master #git pull origin master 上面的例子是用远程的master分支的内容覆盖本地的内容 如何用本地仓库文件还原刚刚修改的(硬盘)本地文件呢? git checkout HEAD -- 阅读全文
posted @ 2023-09-19 15:34 tochenwei 阅读(86) 评论(0) 推荐(0) 编辑
摘要:function is_cli_mode() { $sapi_type = php_sapi_name(); if (isset($sapi_type) && substr($sapi_type, 0, 3) == 'cli') { return true; } else { return fals 阅读全文
posted @ 2023-09-11 11:30 tochenwei 阅读(6) 评论(0) 推荐(0) 编辑