git log

linux 安装最新版本git

第一步,官网下载安装包 https://git-scm.com/download/linux 第二步,解压安装包 tar -zxvf git-2.34.1.tar.gz 第三步,安装编译环境 yum install curl-devel expat-devel gettext-devel opens ......
版本 linux git

git bash报错fatal: detected dubious ownership in repository at的解决方法

由于新版本的git安全机制,需要核对文件安全性,如果文件夹所以者和当前用户不一致就警告。 方法1,可以把文件的所有者更改为当前用户的 方法2,命令 git config --global --add safe.directory "你的目录或者文件" 意思就是把该目录或者文件白名单安全的 ......
repository ownership detected dubious 方法

chromium vlog 替换 log(info)

chromium vlog log 打印输出调试 在Chromium中,DVLOG(20)是一种用于打印详细日志信息的宏。 这个宏的具体含义是在调试(Debug)版本中打印日志,而在发布(Release)版本中会被优化掉,因此在正式发布的软件中是不会产生这些日志的。 DVLOG是Debug Verb ......
chromium vlog info log

git commit规范

git commit message基本格式 <type>(<scope>): <subject> type(required) 用于说明git commit的类别,只允许使用下面的标识。 feat:新功能(feature)。 fix:修复bug,可以是QA发现的BUG,也可以是研发自己发现的BUG ......
commit git

Git提交规范

参考 https://juejin.cn/post/6844903793033756680 正文 Commit message 格式,为了方便使用,我们避免了过于复杂的规定,格式较为简单且不限制中英文: <type>(<scope>): <subject> // 注意冒号 : 后有空格 // 如 f ......
Git

如何把已有项目上传到git

已有项目上传到git 若要将现有的项目上传至Git仓库中,可以按照以下步骤进行操作: 在本地创建一个新的文件夹用于存放该项目。 打开命令行工具(如Windows系统中的cmd或者MacOS/Linux系统中的Terminal)并导航至该文件夹所在路径。 使用git init命令初始化一个空的Git仓 ......
项目 git

一段shell代码可用于git部署代码到服务器的操作

整个执行的思路: 1 先放弃服务器本地的修改,把代码从git管理服务器检出,最新的代码。 2 复制配置测试或生产环境配置文件到工程里面。 3 文件夹的权限重新覆盖。 比如把下面这段bash 脚本命名为test_shop.sh,赋予它可执行的权限。chmod a+x test_shop.sh #!/b ......
代码 服务器 shell git

openEuler欧拉设置git pull免密

使用git config命令在本地全局设置用户名和邮箱 git config --global user.name "username":全局添加用户名 git config --global user.email “someone@mail.com”:全局添加邮箱 git config --glo ......
openEuler pull git

git常用命令

1.克隆项目到本地 git clone http://www.test.com/test/code.git 2.创建工作区,创建分支,删除分支 git init git branch dev git branch -d dev 3.查看远程分支和本地分支情况 git branch -a //查看所有 ......
命令 常用 git

安装篇 —— git

下载git安装包 1、可以通过官网下载:https://git-scm.com/download/win 如果下载速度过慢,可以直接从阿里镜像中获取:https://registry.npmmirror.com/binary.html?path=git-for-windows/ 2、也可以从我的网盘 ......
git

Conditional Git Configuration 有条件配置Git信息

本文学习自 Blog 本文介绍Git的一个特性,具有潜在的实用性。该特性就是“有条件地为Git项目配置Git信息”。这意味着开发者能根据简单的条件设置,为Git项目仓库自动添加或覆盖添加Git配置信息。 下面通过一个简单的例子进行说明。在系统层面的Git配置中,添加如下内容: [includeIf ......
Configuration Conditional Git 条件 信息

PA0:git 相关指令+编译

git checkout xxx 切换到xxx分支 -b BB 创建新BB分支 在修改完文件后,git add 指令将修改内容推送到待上传区,git commit将修改上传上去。 git log 查看log记录 git diff 对比当前修改过的所有记录 make menuconfig注意是menu ......
指令 PA0 git PA

MySQL Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint

错误信息: 2023-12-12T09:32:31.383149Z 0 [ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 5777611209 and the end ......

git新建分支

1、新建并切换到该分支 git checkout -b 新分支名称 2、删除分支 git branch -d 分支名称 3、合并分支 git merge 被合并分支名称 ......
分支 git

清理linux日志/var/log/journal/

1、用echo命令,将空字符串内容重定向到指定文件中 echo "" > system.journal 2、journalctl 命令自动维护文件大小 1)只保留近一周的日志 journalctl --vacuum-time=1w 2)只保留500MB的日志 journalctl --vacuum- ......
journal linux 日志 var log

SciTech-Github-解决git push时的 Error: hasDotgit: contains '.git'

AbaelsMacBookPro:pelican abaelhe$ git push Enumerating objects: 6872, done. Counting objects: 100% (6872/6872), done. Delta compression using up to 8 ......

git操作-03-拉取远程仓库2个场景

A:场景一:本地有一个空目录“project”作为开始 1、初始化 git init 方式一:选择:关联远程仓库然后拉取 git remote add origin https://gitee.com/ran-baihong/test.git 3、拉取dev分支: git pull origin d ......
仓库 场景 git 03

git操作-02-分支创建

注意:如果远程有dev分支,本地也需要在dev分支上。如果本地在cc分支,提交到远程dev分支是无效的 一、查看分支 git branch 列出本地已经存在的分支,并且当前分支会用*标记 git branch -r 查看远程版本库的分支列表 git branch -a 查看所有分支列表(包括本地和远 ......
分支 git 02

Python模块之logging模块

logging模块 【一】概要 logging 模块是 Python 中用于记录日志的标准模块。它提供了一种灵活的方式来配置不同级别的日志消息,可以将日志消息输出到不同的地方,如控制台、文件、网络等。使用 logging 模块可以帮助开发者更好地理解程序的运行状态、诊断问题以及记录关键信息。 【二】 ......
模块 logging Python

git操作-01-空仓库,基本无分支操作

一、初始化 git init 二、关联邮箱账号 git config [--global] user.name "rbh" git config [--global] user.email 1213079113@qq.com 三、添加远程仓库 git remote add origin https: ......
分支 git 01

git 仓库初始化

全局设置 git config --global user.name "寂寞的钢蛋儿" git config --global user.email "guanchaoguo@qq.com" 创建 git 仓库: mkdir test cd test git init touch README.md ......
仓库 git

git-持续更新

Git 本地数据管理,大概可以分为三个区: 工作区(Working Directory):是可以直接编辑的地方。 暂存区(Stage/Index):数据暂时存放的区域。 版本库(commit History):存放已经提交的数据。 (从别人那粘贴过来的图) 一、start a working are ......
git

git叫出界面,并设置http方式推送代码

1.在初始使用git的时候提交代码时会有一个窗口提示CredentialHelperSelector 2.重新打开上面对话框的方式是在终端中输入 git credential-helper-selector 命令,然后按回车键即可。 3.支持协议 git 支持 ssh 和 https 两种协议,使用 ......
代码 方式 http git

git比较安全的提交方式

git status git add . git commit -m"文字说明" git fetch && git rebase 如果无冲突 git push origin feature/init 如果有冲突,则先解决冲突,然后 git add . git rebase --continue gi ......
方式 git

kafka:ERROR Shutdown broker because all log dirs(Windows)

问题 都说kafka在Windows上运行的错误多,果然如此。在测试阶段,创建了一个 测试主题,并往该主题发送了消息,然后删除该主题。这时错误出来了: kafka error log日志 [2024-01-08 15:22:42,224] ERROR Error while renaming dir ......
Shutdown because Windows broker kafka

Git设置代理

设置: git config --global https.proxy http://127.0.0.1:1080 git config --global https.proxy https://127.0.0.1:1080 取消 git config --global --unset http.p ......
Git

查看/修改本地git用户名和邮箱地址

用户名和邮箱地址的作用 用户名和邮箱地址是本地git客户端的一个变量,不随git库而改变。 每次commit都会用用户名和邮箱纪录。 github的contributions统计就是按邮箱来统计的。 查看用户名和邮箱地址 git config user.name git config user.em ......
用户名 邮箱 地址 用户 git

An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue.

\Forms\WorkflowEditorHost\Methods\build private void build() .... System.Exception interopException; ............ else { try { workflowConfiguration = ......

Git常用命令

git同步远程仓库 //新建一个upstream的远程主分支 git remote add upstream https://github.com/singerdmx/flutter-quill //将远程主分支更新到本地 git fetch upstream //切换到master分支 git c ......
命令 常用 Git

.NET6中使用Log4net记录日志

1、引用NuGet包 2、创建logHelper类 using log4net.Repository; using log4net; using System; using System.Collections.Generic; using System.Diagnostics; using Sys ......
Log4net 日志 NET6 4net Log4
共2830篇  :1/95页 首页上一页1下一页尾页