quot config git default

如何在无窗口模式下为git的tag和commit操作加GPG私钥——如何在命令行模式下使用gpg秘钥为git操作签名

相关: 如何在无窗口模式下运行GPG——如何在命令行模式下使用gpg生成秘钥:How to make gpg prompt for passphrase on CLI——GPG prompt for password in command line Git的GPG签名 —— Tag签名 Verifi ......
模式 git 命令 commit GPG

前端 Git 使用约定

前端 Git 使用约定 背景 开发前端项目,有以下困惑: 使用哪个分支开发,哪个分支发布 修复线上bug的流程是什么,如何避免修复完了下次却又出现了 cms分支有十多个,是否都有用 如何快速找到之前某次功能开发,或某次bug修复 为了减轻上述困扰,引入 gitflow 规范,并根据公司情况做适当调整 ......
前端 Git

git使用

git本地使用 引用自知乎用户CatOneTwo点击跳转 初次配置 查看已有配置 git config --list 配置用户名和邮箱 git config --global user.name "用户名" git config --global user.email 邮箱地址 简单使用 查看仓库状 ......
git

从"他急匆匆地跑来了“来谈一下数据表字段命名

“他急急忙忙的跑来了” 可以简写成“他跑来了”,可以简写成“他来了”。但是,不能简写成“跑来了”、“来了”。 ......
数据表 字段 数据 quot

Config:Spring Cloud分布式配置组件

Config:Spring Cloud分布式配置组件 问题总结 Spring Cloud Config? Spring Cloud Config工作原理? Spring Cloud Config 的特点? Config+Bus 实现配置的动态刷新? 问题答案 Spring Cloud Config ......
分布式 组件 Config Spring Cloud

python在容器内克隆拉取git私有仓库

前言 目前有个python应用需要在容器镜像内拉取git私有仓库的代码,一开始的想法是用GitPython,折腾一番ssh私钥和known_hosts问题后,发现还是在镜像中封装个git最省事,然后用subprocess调用系统命令,镜像体积也没有想象中增加特别多。 准备ssh私钥和known_ho ......
容器 仓库 python git

Git的GPG签名 —— Tag签名 Verified验证,防伪造的gitee/github commit验证

相关资料: 如何使用git通过ssh协议拉取gitee上的项目代码——如何正确的免密使用git 不论是gitee还是GitHub都有两种公钥设置,一种是ssh公钥,另一种则是GPG公钥。ssh公钥是为了在进行git pull和git push操作时进行免密验证的;而GPG公钥是在git tag和gi ......
Verified commit github gitee Git

Get "http://127.0.0.1:10252/healthz": dial tcp 127.0.0.1:10252: connect: connection refused

查看组件状态: kubectl get cs 报错: controller-manager Unhealthy Get "http://127.0.0.1:10252/healthz": dial tcp 127.0.0.1:10252: connect: connection refused sc ......
10252 quot connection 127 healthz

解决 FastApi 响应体中 datetime 时间格式化问题 ISO 8601: "T"

现象描述 当 FastApi 访问数据库或其他遇到 datetima 时间场景时,若直接返回响应结果,时间会被自动格式为:"2024-01-01T09:30:14",而不是 "2024-01-01 09:30:14" 本文包含2种处理方法,分别对应2种响应模型,解决办法,看这里 解决方法 第1种,直 ......
quot datetime FastApi 格式 时间

error: missing binary operator before token "(" 44 | #if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)

手痒,在centos7上面,升级了glibc,然后导致正常程序编译都出现了问题。 这是编译的报错: /opt/rh/devtoolset-9/root/usr/include/c++/9/x86_64-redhat-linux/bits/os_defines.h:44:19: error: miss ......
quot GLIBC_PREREQ GNU_SOURCE amp operator

git常用命令

配置信息 git config --global user.name '你的用户名' git config --global user.email '你的邮箱' 新增到暂存区 git add . git add *.java 查看状态 git status 查看改动 git diff 查看暂存区改动 ......
命令 常用 git

git 使用

/////如何删除远程分支上origin\y12345678的最新1条提交记录 1、git reset --soft HEAD~1 //表示本地或者暂存区撤回一条提交记录 1、git reset --hard HEAD~1 2、git push origin y12345678 -f //git r ......
git

使用Gitea搭建自己的git远程仓库

Gitea 为什么需要自建仓库 原因只有一个:折腾。其实国内的码云加上github已经足够用了。 官方原话 Gitea 的首要目标是创建一个极易安装,运行非常快速,安装和使用体验良好的自建 Git 服务。我们采用 Go 作为后端语言,这使我们只要生成一个可执行程序即可。 并且他还支持跨平台,支持 L ......
仓库 Gitea git

Git工具使用命令

Git工具使用命令 Git概述 Git是一个分布式版本控制工具,本篇介绍如何使用Git连接Gitee代码托管平台,实现线上仓库代码项目的推送与克隆。 而且会介绍如何在IDE开发工具集成Git工具 Git全局设置 通常我们在下载完git后会对git进行全局设置 也就是说设置用户名称和email地址 设 ......
命令 工具 Git

国内的开源AI模型共享网站(AI模型的GitHub)—— mindscope —— 使用git lfs方式下载模型文件基本不可行——速度太慢,几十KB/s的速度

参考前文: 国内的开源AI模型共享网站(AI模型的GitHub)—— mindscope —— 对标外网的“huggingface”,mindscope好用吗? ......
模型 速度 mindscope 方式 文件

keno linux error"org.kde.plasma.private.notes" is not installed

出现问题的地方;加载小部件 装入 QML 文件出错,file:///home//.local/share/plasma/plasmoids/com.github.zren.todolist/contents/ui/main.qml:10:2: Type NoteItem unavailable fi ......
quot installed private plasma error

src/gemma.cpp:79:10: fatal error: openblas_config.h: No such file or directory

001、gemma软件编译安装报错如下: src/gemma.cpp:79:10: fatal error: openblas_config.h: No such file or directory 002、解决方法 ......

Python调用 "keybd_event" API模拟按键

在 Python 中,可以使用 ctypes 库来调用 Windows API,实现对 Windows 系统的底层操作。本文将以模拟按键操作(ctrl+v)为例,详细讲解如何在 Python 中调用 Windows API。 1. 导入 ctypes 库 ctypes 是 Python 的一个外部函 ......
quot keybd_event 按键 Python keybd

JSON parse error: Unexpected character ('}' (code ***)): was expecting double-quote to start field

JSON parse error: Unexpected character ('}' (code 125)): was expecting double-quote to start field name] 出现这个错误是因为请求 { "equipmentid": "123", "equipmen ......

[已解决] bindkey在"~/.zshrc"配置不工作

bindkey is not work in "~/.zshrc" 打算用bindkey来配置autocomplete,结果不工作。只有当进入shell后再次source ~/.zshrc才有效果 找问题找了老半天,最后发现就是zsh-vi-mode搞出的名堂,它会重新bindkey导致先前绑定的会 ......
quot bindkey zshrc

git merge --squash 简化 commit

把 dev 分支上多个提交记录合并成一个提交记录,合并后的提交记录的提交信息是多个提交记录的提交信息的合并,这样你就可以在自己的分支上瞎几把高频率提交了🤣 git merge --squash dev git commit -m "合并 dev 分支上的多个提交记录" ......
commit squash merge git

git还原指定存储版本

1、git stash list 获取历史存储版本 2、git stash show -p 'stash@{0}' 查看最新存储的信息 3、git stash apply 'stash@{1}' 恢复stash@{1}版本的存储,注意:(1) 'stash@{1}' 记得在vs中带引号,不然报错。( ......
版本 git

git 如何忽略已经提交的文件或文件夹 (.gitignore文件无效)

git rm -r --cached <file> 可以删除文件和文件夹 使用 idea 提交代码的时候可能会遇到想要忽略的文件夹出现在提交列表中的情况。 以 .idea 目录举例。假如之前没将 .idea 目录添加到 .gitignore 文件中,提交代码的时候又把 .idea 目录提交上去了,那 ......
文件 文件夹 gitignore git

Vite + ESBuild error: No loader is configured for ".node" files: node_modules/fsevents/fsevents.node

Vite + ESBuild error: No loader is configured for ".node" files: node_modules/fsevents/fsevents.node Add fsevents to your optimizeDeps exclude in your ......
fsevents node quot node_modules configured

git删除大文件提交记录

由于git不免费支持大文件的推送,但是很多不知情的情况下,不小心提交了大文件,导致无法push时,总是失败。 为了不影响其它小文件的推送,需要删除大文件的提交记录。 1.根据git客户端推送的报错信息,复制对应的ID值在git bash上执行,命令如下: git rec-list --objects ......
文件 git

python json.dump 将字典写文件json文件后多了一个花括号"}",读取时报错:json.decoder.JSONDecodeError: Extra data: line

我的字典格式: import json d = {'Demo': {'Total_Result': 'Pass', 'info': {'test3': 'Pass'}}, '10.0.0.111': {'Total_Result': 'Pass', 'info': {'test_double_dis ......
json 文件 括号 quot JSONDecodeError

git rm --cached 命令,最全详细讲解

git rm --cached 命令,最全详细讲解 git rm --cached 是 Git 中的一个命令,用于从版本控制中移除文件,但保留文件在本地工作目录中的副本。这个命令有以下几个关键点: 从版本控制中移除: 当你执行 git rm --cached <file> 时,Git会将指定的 <f ......
命令 cached git rm

解决psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?

pgsql启动后执行psql显示报错: psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server ru ......
server socket quot connections connection

Git-统计每天特定时间区间代码提交次数-非上班时间代码提交

git-code-specific-time-of-day.sh #!/bin/bash total_count=0 # 获取最早的提交日期 first_commit_date=$(git log --pretty=format:'%ad' --date=format:'%Y-%m-%d' | so ......
代码 时间 区间 次数 Git

【随手记录】Apache-JMeter部署银河麒麟报错: jmeter module java.desktop does not "opens sun.awt.X11" to unnamed module @5...

操作系统: Linux 0012.novalocal 4.19.90-17.ky10.aarch64 #1 SMP Sun Jun 28 14:27:40 CST 2020 aarch64 aarch64 aarch64 GNU/Linux JDK版本: java 17.0.8 2023-07-18 ......
module quot Apache-JMeter desktop unnamed
共3420篇  :4/114页 首页上一页4下一页尾页