暂无个人介绍
2023年04月
1.git lfs track "bin/*"。 2.以摘要文件的形式存在。 3.深度为1的浅克隆只clone最新的提交历史,而树深度为1的部分克隆,会clone全部的提交历史。
1.git commit --fixup ,标题与主体正文之间增加空行,subject是首行内容,第二行是空行,空行之后是body
2.git commit -s 添加尾缀,在签名区书写 Reported-by:<同事A>
1:git rebase 2:git rebase -i 3:可以
问1:合并冲突 问2:快进式合并提交的 commit-id 不会变;非快进式合并原来的提交的 commit-id 不会变,但是会多出一个新的 commit-id, 问3:git log --oneline --graph
1.打开GIT环境变量GIT_TRACE=1,GIT_TRACE_PACKET=path/to/log
2.refs/heads/, refs/tags/
3.git -c push.negotiate=true
git submodule add <子模块URL> <路径> git submodule set-branch –branch <分支名> <路径> git submodule deinit <路径>
问题1:共有4个对象:Blob、Tree、Commit、Tag
问题2: (1)Normal File 普通文件 (2)Executable File可执行文件 (3)symbolic link 符号链接 (4)Dir目录
问题3: git cat-file获取对象信息