Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我打算在 python 中编写一个 git hook 来保护我的 github 存储库。它将检测合并冲突标记(如>>>>>>)并阻止提交。
>>>>>>
我有一些初步的想法,但如果我得到类似的钩子样本会非常有帮助。经验丰富的人对实施的建议也将不胜感激。