quot config git default
devops - 企业内部搭建git服务器
step1. 登录远程服务器,新建git用户,及用户主目录, ssh配置目录, 初始化git仓库 # 新建git用户组 sudo groupadd git # 新建git用户并设置用户组, 并创建用户主目录 /home/git sudo useradd -g git -m git # 给新建的git ......
获取git版本号写入到DLL文件
private static void SetGitVersion() { string baseDirectory = System.AppDomain.CurrentDomain.BaseDirectory; string projectDirectory = baseDirectory.Sub ......
git移除现有远程仓库文件和提交记录
背景 公司gitlab新建仓库权限被关了 自己有项目想要找个服务器仓库托管,刚好服务器上有个自己之前存在的没用的仓库,所以想要清掉它把现在自己本地的git仓库push上去 操作 step1. 清掉现有仓库 找个空文件夹,将你想要托管的仓库.gitignore文件加入初始化一个新仓库,并push到服务 ......
用Gogs私有化部署git服务
Gogs官网 1.下载安装 gitee源码地址 girhub源码地址 go写的gogs客户端 源码安装方法参考,二进制下载安装方法参考 安装过程可参考 首次安装可手动启动,cmd命令行下切换到gogs.exe所在目录,执行“e:/gogs/gogs.exe web”,windows下不能直接不带目录 ......
git 笔记
git reset --hard HEAD^ 可以本地删掉最后一个commit。 git push --force-with-lease 推送到远程删掉最后一个commit。 git cherry-pick HASH 最后本地恢复最后一个commit。 git reset --hard commit ......
git从历史commit中拉取分支
1、从某个commit拉取分支 git checkout -b <branch name> <commit_id> 例:git checkout -b trms_branch f31de460b2a 2、推送到远程 git push -u origin 分支名 例:git push -u origi ......
git使用小结
一、提交代码到master仓库 1、克隆新建仓库地址 git clone "xxx" 2、查看仓库状态 git status 3、拷贝上传的代码到目录并上传 git add . 4、加备注,加说明 git commit -m "first commit" 5、输入用户名和邮箱 git config ......
Git的学习笔记
Git的学习笔记 Git的简单介绍 Git是一个免费的、开源的分布式版本控制系统,可以快速高效地处理从小型到大型的各种项目 Git的常用命令 命令名称 作用 git config --global user.name '用户名' 设置用户签名 git config --global user ......
install goldendict-ng-git
manjaro升级后,goldendict不能启动了,重新安装总是出错,原来是官方的版本不支持qt6了,查阅archlinux文档,获知goldendic-ng-git支持qt6,安装步骤如下,需要的同学可以参看。 1. 获取PKGBUILD文件,git clone https://aur.arch ......
记Redux下载后,运行examples/todos时,报错Error: error:0308010C:digital envelope routines::unsupported 和 Failed to load config "react-app" to extend from.
1、Redux 下载 下载地址 git clone https://github.com/reactjs/redux.git 进入examples/todos,下载依赖: npm install 2、问题复现及解决 执行命令 npm run start 此时终端报错: Error: error:03 ......
使用PyUIC将.ui文件转换为.py文件时出现 <?xml version="1.0" encoding="UTF-8"?> ^ SyntaxError: invalid syntax
弄好相应第三方库在Pycharm中的配置后,完成窗口界面后生成.ui文件 使用PyUIC将.ui文件转换为.py文件时出现 <?xml version="1.0" encoding="UTF-8"?> ^ SyntaxError: invalid syntax 查了网上方法没解决,最后将PyUIC配 ......
连接huggingface.co报错:(MaxRetryError("SOCKSHTTPSConnectionPool(host='huggingface.co', port=443) (SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)
参考: https://blog.csdn.net/shizheng_Li/article/details/132942548 https://blog.csdn.net/weixin_42209440/article/details/129999962 ......
hive启动出现Either your MetaData is incorrect, or you need to enable "datanucleus.schema.autoCreateTables"
hive启动出现: Required table missing : "`VERSION`" in Catalog "" Schema "". DataNucleus requires this table to perform its persistence operations. Either ......
hive升级元数据报错The reference to entity "useSSL" must end with the ';' delimiter.
使用Hive自带的schematool工具升级元数据,也就是把最新的元数据重新写入MySQL数据库中。 执行以下命令 cd /usr/local/hive ./bin/schematool -initSchema -dbType mysql 出现The reference to entity "us ......
linux下使用git上传项目代码到github
一、创建一个仓库 想要上传项目代码到github我们首先需要有一个GitHub账号,具体怎么注册自行搜索,然后我们需要创建一个仓库如图: 如图我们创建一个公共仓库,写完名字,描述,和增加一个readme文件 二、密钥 直接使用命令后面是你的注册邮箱,选项直接回车就好。 ssh-keyge ......
本地代码保存到git远程仓库上
1.在gitee上创建一个空的仓库 2.在本地文件夹中使用git init初始化git配置 3.这一步看情况,如果设置了全局配置,也能使用全局配置提交就不用做了 git config user.name git confg user.email git config user.name "xxx" ......
Add double quotes to surrounding a word/text
In VIM for VScode, how to add a pair of double or single quotes to surround an existing word/text/numebr? I've been writing R codes with VScode for ma ......
“QtRunWork”任务返回了 false,但未记录错误"
编译一个复制过来的QT工程的时候出现了"error MSB4181: “QtRunWork”任务返回了 false,但未记录错误"。 查看工程下的“.log”文件发现在 “error MSB4181: “QtRunWork”任务返回了 false,但未记录错误。”的log上面还有一条log是 RCC ......
conda环境下Python报错:raise MissingCUDAException("CUDA_HOME does not exist, unable to compile CUDA op(s)") CUDA_HOME does not exist, unable to compile CUDA op(s)
conda环境下Python报错: (pytorch) devil@Monster:~$ pip install deepspeed Collecting deepspeed Using cached deepspeed-0.12.4.tar.gz (1.2 MB) Preparing metada ......
Python报错:pkg-config could not find libraries ['avformat', 'avcodec', 'avdevice', 'avutil', 'avfilter', 'swscale', 'swresample']
参考: https://github.com/PyAV-Org/PyAV/issues/238 https://pyav.org/docs/6.1.2/installation.html#mac-os-x 报错信息: C:\Users\liuxue>pip install av Collecting ......
python网络连接报错:ValueError("Unable to determine SOCKS version from %s" % proxy_url) ValueError: Unable to determine SOCKS version from socks://192.168.1.100:1080/
python应用proxy网络连接报错: return super().send(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/devil/anaconda3/envs/pytorch/lib ......
pkg-config使用指南
pkg-config使用指南 简述 ubuntu等linux系统的一个包配置, 管理工具。 通常的使用场景是, 可以通过该命令获取相关包的配置。例如头文件包含路径和库链接路径。 用法 pkg-config --list-all # show all system libs pkg-config -- ......
Docker|--镜像中既有gcc和.NET运行时, 但是容器启动的时候报错 exec: "dotnet": executable file not found in $PATH: unknown.
基本信息 # 镜像gcc_for_net7_image是如何产生的, 分为3步 1.基于gcc的镜像运行起来的一个包含了gcc环境的容器, 2.在这个容器里安装了.NET7运行时, 3.再将这个包含了gcc环境和.NET7的容器打包为一个镜像"gcc_for_net7_image" 总之, 这个镜像 ......
去掉原仓库git地址和清除原项目的git版本信息
1.去掉原仓库git地址 git remote remove origin 2.清除原项目的git版本信息 rm -rf .git 点击项目文件夹,右键选择Git Bash Here,在弹出的面板里面输入指令即可 ......
关于解决vue报错"Problems loading reference 'https://schemastore.azurewebsites.net/schemas/json/package.json': Unable to load schema from...
打开setting时会看到有一条三角形的警告信息 看问题描述:无法从该网站加载 解决方法: 打开设置,找到扩展下的json项 设置之后可以在settings.json文件中看到新增加一项 "json.schemaDownload.enable": false 可以直接在界面上设置: "json.sc ......
jenkins使用shell提交git指令时,怎么使用 credential凭证信息
在 Jenkins 中使用 shell 脚本提交 Git 指令时,你可以通过使用 Git 凭据信息来进行认证。这可以通过以下步骤来实现: 设置 Git 凭据: 在 Jenkins 中,你可以在“凭据”(Credentials)中添加 Git 的用户名和密码。在 Jenkins 主界面,点击“凭据”- ......
哎呀,怎么才能把git中在指定日期内改动文件路径整理出来?
使用git log命令 2023-11-01 开始时间 2023-12-30 结束时间 --no-merges 过滤到合并的commit路径 输出到当前目录中的1.txt中 git log --since="2023-11-01" --until="2023-12-30" --name-only - ......
vue报错export 'default' (imported as 'VueRouter') was not found in 'vue-router'
直接使用npm install vue-router -save安装的路由,运行报错 经排查后发现是安装的vue-router版本太高 使用 npm uninstall vue-router 卸载之前安装的路由 使用 npm i vue-router@3.5.2 安装低版本的路由 问题解决!!! ......
git 查找历史文件
... from https://www.cnblogs.com/756623607-zhang/p/17310373.html 1 git log -- <file-path> 2 git checkout <commit-hash> -- <file-path> ......