随笔分类 -  git 命令帮助-汇总

摘要:前言全局说明 git config --xx --xxx 参数 【汇总】 一、说明 1.1 默认配置文件路径 Windows C:\Program Files\Git\etc\gitconfig Linux 默认证书路径 /home/${USER}/.gitconfig 注意: .gitconfig 阅读全文
posted @ 2024-06-24 11:05 悟透 阅读(123) 评论(0) 推荐(0) 编辑
摘要:**Git 官方:** > book 说明大全,中文版:https://git-scm.com/book/zh/v2/ > book 说明大全,英文版:https://git-scm.com/book/en/v2/ > docs 说明大全,英文版:https://git-scm.com/docs * 阅读全文
posted @ 2023-08-11 09:43 悟透 阅读(31) 评论(0) 推荐(0) 编辑
摘要:- 和 -- 参数汇总 一、语法: $ git show [options] <object> [options] = [ -数字 ] [options] = [ -单字母 ] [options] = [ --单词 ] 二、[-数字] 类参数 数字排序 参数 说明 速记(英文) 0 1 2 3 4 阅读全文
posted @ 2023-07-31 12:42 悟透 阅读(14) 评论(0) 推荐(0) 编辑
摘要:## 更多最新参数说明: https://www.cnblogs.com/wutou/p/17593164.html ## 默认显示分支信息: ```bash git log ``` ![image](https://img2023.cnblogs.com/blog/597729/202307/59 阅读全文
posted @ 2023-07-31 12:35 悟透 阅读(508) 评论(0) 推荐(0) 编辑
摘要:- 和 -- 参数汇总 如图电脑安装了 git ,可以用 man git-log 查看更详细说明。 一、语法: $ git log [ -数字 ] [ -单字母 ] [ --单词 ] 二、[-数字] 类参数 数字排序 参数 说明 速记(英文) 0 1 -1 显示最新的一条 log 2 -2 显示最新 阅读全文
posted @ 2023-07-26 09:32 悟透 阅读(280) 评论(0) 推荐(0) 编辑
摘要:git --date 常用参数 **详细使用说明**: [https://www.cnblogs.com/wutou/p/17493337.html](https://www.cnblogs.com/wutou/p/17493337.html "https://www.cnblogs.com/wut 阅读全文
posted @ 2023-07-09 10:36 悟透 阅读(152) 评论(0) 推荐(0) 编辑
摘要:选项参数语法: --pretty=format:%ae 详细使用教程:https://www.cnblogs.com/wutou/p/17490984.html --pretty=format控制显示信息的颜色:https://www.cnblogs.com/wutou/p/17536218.htm 阅读全文
posted @ 2023-07-09 10:22 悟透 阅读(2634) 评论(0) 推荐(2) 编辑
摘要:git --date 显示与当前时间相关的日期 relative local default iso rfc short raw 1. --date=relative 显示相对时间,用户本地时区中的时间戳。 提交说明时间设置为,比当前时间早 5个小时的时间:relative:5.hours.ago  阅读全文
posted @ 2023-06-20 12:42 悟透 阅读(1487) 评论(0) 推荐(0) 编辑
摘要:git显示 commit id 有很多样式 git log -xx --xxxx 参数【汇总】: https://www.cnblogs.com/wutou/p/17581606.html 一. 单行显示 log [注] git log --pretty=oneline 注: --pretty:使用 阅读全文
posted @ 2023-06-19 13:57 悟透 阅读(5430) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示