查找删除分支的人? [英] Find person who deleted a branch?

查看:50
本文介绍了查找删除分支的人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找到在项目中正在删除分支的人

I need to find the person who deleted a branch in a project am working with

通过检查 .git/refs/heads/中的回购文件夹/文件,我找不到包含该信息的任何元数据.

By checking the repo folder/files in .git/refs/heads/, I can not find any metadata with that information.

找到这个/他的工作是什么?

What is the work around to find this/ him?

推荐答案

仅Git不会为谁推送内容提供任何审核日志.

Git alone would not provide any audit log for who pushed what.

您将需要授权层,例如

You would need an authorization layer like gitolite in order to log those operations.

请注意,如果您有权访问远程回购(已将分支删除推送到该仓库),则可以在

Note that if you have access to the remote repo (to which a branch deletion was pushed), you can find trace of the deleted branch in the git reflog.

这篇关于查找删除分支的人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆