摘要:
打开项目根目录下的 .pre-commit-config.yaml 文件,将其中的配置删除或者注释掉。 删除 .git/hooks/pre-commit 文件,如果存在的话。 使用以下命令将 pre-commit 从 git 钩子中移除: rm .git/hooks/pre-commit ls -a 阅读全文
摘要:
python 安装 在 requirements.txt 增加了 github 私有安装库的依赖 git+https://${GITHUB_TOKEN}@github.com/YOLOTECHNOLOGY/bossjob-auth-lib.git@${GITHUB_LIB_BRANCH} 当前该库无 阅读全文
摘要:
from django.core.management.base import BaseCommand from chat_greeting_messages.models import Greeting import os from django.db import connection clas 阅读全文
摘要:
参考链接 https://blog.csdn.net/lilyssh/article/details/118178091https://juejin.cn/post/7207248115223789628 brew 安装redis https://blog.csdn.net/qq_39496303/ 阅读全文
摘要:
前言 protoc 是 protobuf 文件(.proto)的编译器,可以借助这个工具把 .proto 文件转译成各种编程语言对应的源码,包含数据类型定义、调用接口等。 protoc 在设计上把 protobuf 和不同的语言解耦了,底层用 c++ 来实现 protobuf 结构的存储,然后通过插 阅读全文
摘要:
在PyCharm的右下角,点击"Git: master",在弹出的菜单中选择"master"分支,然后点击"Checkout"。 在菜单栏中,选择"VCS" -> "Git" -> "Log",在弹出的窗口中找到被回滚的提交,右键点击这个提交,然后选择"Revert Commit"。 这将创建一个新 阅读全文
摘要:
https://www.zhihu.com/question/610272775 阅读全文
摘要:
var rootCmd = &cobra.Command{ Use: "ferry", Short: "-v", SilenceUsage: true, DisableAutoGenTag: true, Long: `ferry`, Args: func(cmd *cobra.Command, ar 阅读全文