如何删除 Git 中所有未跟踪(untracked)的文件?
How would you remove all untracked files in Git?
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: hard
分类: DevOps
标签: Git, 面试题, Version Control
参考答案摘要
Answer There are multiple ways to remove all untracked files in Git. Discard all untracked files: git clean -f command will permanently remove all the untracked files from your working directory. Remo...
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。