Git 里的 HEAD 是什么?一个仓库能有多少个 HEAD?
What is HEAD in Git, and how many HEADs can be created in a repository?
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: hard
分类: DevOps
标签: Git, 面试题, Version Control
参考答案摘要
Answer The reference to a commit object is called the HEAD. Every repository has a ‘Master’ which is the default head. There can be multiple heads in a repository.
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。