随笔分类 -  Git

该文被密码保护。
posted @ 2023-09-06 14:22 fndefbwefsowpvqfx
摘要:# [gg] Git Graph - all branch ![](https://img2023.cnblogs.com/blog/859364/202309/859364-20230905162948031-1928929762.png) # [ggc] Git Graph - Change - 阅读全文
posted @ 2023-09-05 16:40 fndefbwefsowpvqfx
摘要:```bash --raw --numstat --shortstat --dirstat --summary --name-only --name-status --check ``` ```bash git log --pretty=format:'%C(yellow)%h %Cred%ad % 阅读全文
posted @ 2023-09-04 18:55 fndefbwefsowpvqfx
摘要:```bash git diff HEAD HEAD~1 git diff main feature/abc git diff main feature/abc hello.cpp ``` 比较分支的提交差异 ```bash | dev | 存在 | | master | 不存在 | git log 阅读全文
posted @ 2023-09-04 18:52 fndefbwefsowpvqfx
摘要:![](https://img2023.cnblogs.com/blog/859364/202304/859364-20230419155259043-909383561.png) ![](https://img2023.cnblogs.com/blog/859364/202304/859364-20230419155315096-2122967504.png) ![](https://img20 阅读全文
posted @ 2023-04-19 15:53 fndefbwefsowpvqfx
摘要:# 1. windows path length limit https://www.cnblogs.com/Searchor/p/17205540.html # 2. git-lfs # 3. config ```bash git config --system core.longpaths tr 阅读全文
posted @ 2020-10-15 16:52 fndefbwefsowpvqfx
摘要:通常在发布软件的时候打一个tag,tag会记录版本的commit号,方便后期回溯。 列出已有的tag git tag 加上-l命令可以使用通配符来过滤tag 新建tag 使用git tag命令跟上tag名字,直接创建一个tag。 git tag v1.0 上面创建一个名为v1.0的tag。使用git 阅读全文
posted @ 2020-10-15 16:48 fndefbwefsowpvqfx
摘要:The --depth parameter refers to how deep Git goes on a "walk" from each starting point. As the documentation you quoted mentions, it also implies --si 阅读全文
posted @ 2020-10-15 15:36 fndefbwefsowpvqfx
摘要:git中的换行符 commit: 无转换 checkout: 无转换 git config --global core.autocrlf false commit: 转为LF checkout: 转为CRLT git config --global core.autocrlf true commit 阅读全文
posted @ 2020-08-12 10:04 fndefbwefsowpvqfx
摘要:git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(dim white)%aD%C(reset) %C(dim white)(%ar) %C(dim white)- %an 阅读全文
posted @ 2020-03-25 12:31 fndefbwefsowpvqfx
摘要:比较分支的提交差异 | dev | 存在 | | master | 不存在 | git log dev ^master git log master..dev | dev | 不存在 | | master | 存在 | git log master ^dev git log dev..master 阅读全文
posted @ 2019-08-21 15:17 fndefbwefsowpvqfx