06 2024 档案
摘要:设置用户名和邮箱 git config --global user.name '用户名' git config --global user.email '用户名@qq.com' 查看用户名和邮箱 git config user.name git config user.email
阅读全文
摘要:services.AddAuthentication(options => { // 默认使用Cookie方案 options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; // 验证用户身份时使用JWT Bea
阅读全文
摘要:1.先将项目fork到私有服务器仓库 2.克隆 Forked 仓库到本地 # 使用你的仓库 URL 克隆 git clone https://github.com/your-username/your-forked-repo.git cd your-forked-repo 3.添加上游(原始)仓库
阅读全文
摘要:RESTORE DATABASE 数据库名称 WITH RECOVERY;
阅读全文
摘要:如果你想快速删除所有未追踪的文件(即未被 Git 版本控制的文件),你可以使用以下命令:###### git clean -f 这个命令会删除所有未追踪的文件。如果你还想删除未追踪的目录,可以使用 -d 选项:###### git clean -fd 如果你还想删除由 .gitignore 忽略的文
阅读全文