Unverified50% confidenceFactExact time
The command git checkout <commit> -- <path> extracts the path contents from the specified commit, overwriting the corresponding files in the working tree and the staging area, but does not move HEAD.
1
Sources
50%
Confidence
Long-term
Relevance
10/19/2026
First Seen
Sources
Catching Weakened Tests with Three Git Worktrees
rss10/19/2026
Related Entities
Related Claims
UnverifiedThe command git check-ignore -v <file path> can precisely show which rule and which .gitignore file is causing a given file to be ignored, with output including the filename, line number, and matching pattern.74% similarUnverifiedactions/checkout 自动处理 GITHUB_TOKEN 认证、Pull Request 的 merge 提交、子模块递归拉取及 Git LFS 大文件存储73% similarUnverifiedA configured hook path only says where Git will look, not whether there is an executable file there.72% similarUnverifiedIn git log --oneline main..HEAD, the two dots represent commits reachable only from HEAD and not from main, i.e. work unique to the agent.72% similarUnverifiedactions/checkout 的作用是将仓库代码检出到 GitHub Actions 的 Runner 环境中72% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1066820API
curl https://kongchang.com/api/v1/knowledge/claims/1066820MCP
get_claim(id=1066820)