相关文章
Git使用方法(三)---简洁版上传git代码
1 默认已经装了sshWindows下安装SSH详细介绍-CSDN博客 2 配置链接github的SSH秘钥 1 我的.ssh路径 2 进入路径cd .ssh 文件
3 生成密钥对 ssh-keygen -t rsa -b 4096 (-t 秘钥类型 -b 生成大小) 输入完会出现 Enter file in which to save the key (/c/Users/Administrator/…
建站知识
2025/2/15 15:44:40
【数据结构入门】二叉树之堆的实现
文章目录 前言一、树1.1 树的概念1.2 树的相关概念 二、二叉树2.1 二叉树的概念2.2 特殊的二叉树2.3 二叉树的性质 三、堆3.1 堆的概念3.2 堆的性质3.3 堆的存储3.4 堆的实现3.4.1 堆的初始化3.4.2 堆的销毁3.4.1 堆向上调整算法3.4.2 堆向下调整算法3.4.3 堆的创建3.4.4 堆的插…
建站知识
2025/2/23 19:43:34
记录git push时的报错以及解决方案
报错信息如下
fatal: Unpack error, check server log
error: remote unpack failed: error Missing tree xxxxxx(<版本号>)
To gerrit:xxx/xxx/xxxxxx.git原因:远程已经有很多个分支合入 解决方案:提交的时候,加入一个参数 --no-thin…
建站知识
2025/2/21 6:54:47
git自定义命令使用
1.Linux~/.bashrc内容
function custom_git {# 在 Windows 或 Unix 平台上设置 GIT_SSH_COMMANDexport GIT_SSH_COMMAND"ssh -i $custom_ssh"git "$"
}# 设置 custom_ssh路径
export custom_ssh"$HOME/.ssh/id_custom_sshkey"2.Windows~/.bash…
建站知识
2025/2/18 9:53:18
python之字符串拼接
在 Python 中,有多种方法可以将字符串连接在一起。以下是一些常见的方法:
1. 使用加号 ()
这是最简单和直观的方法之一。
str1 "Hello"
str2 "World"
result str1 " " str2
print(result) # 输出: Hello World2.…
建站知识
2025/2/23 7:18:34