---
title: 没有 Windows 文件管理器集成 git 信息展示的工具？自己写一个
date: 2019-09-05T06:37:44Z
modified: 2019-09-05T06:37:50Z
permalink: "https://www.appinn.com/gitinfoexplorerextension/"
type: post
status: publish
excerpt: ""
categories:
  - Windows
  - 问答
tags:
  - Windows
  - 问答
  - Git
  - twp
  - 代码
  - 展示
  - 文件管理器
featured_image: "https://www.appinn.com/wp-content/uploads/2019/09/gitinfoexplorerextension.jpgo_.jpg"
author: 青小蛙
timestamp: 2019-09-05T06:37:50Z
---

一言不合就造轮子，大佬 @pedoc [询问](https://meta.appinn.net/t/windows-git/11391)「是否有和 Windows **文件管理器**集成的 git 信息展示工具」，一直无法找到满意的工具，怎么办？自己写一个呗。

![](https://static2.appinn.com/images/201909/gitinfoexplorerextension.jpg)

具体问题是这样的：

就是希望可以在使用文件管理器进入某个文件夹时，如果这是一个 git 仓库，那么在标题或者哪里显示当前 git 仓库的一些信息，比如分支，提交信息之类。

## GitInfoExplorerExtension

这款叫 GitInfoExplorerExtension 的文件管理器插件能够显示 git 仓库的分支信息以及最后一次提交信息：

![](https://static2.appinn.com/meta/uploads/default/original/2X/2/230be89643d55d47e7dc63866335fd9b855c7791.jpeg)

另外 @pedoc 还[将插件开源](https://github.com/pedoc/GitInfoExplorerExtension)，并提供了。

用法简单：

1. 下载解压
2. 打开 ServerManager.exe，点击 File->Load Server
3. 选中加载后的 Server，点击 Server->Install Server(x64)

需要 .Net 4.6

对于这类一言不合就自己造轮子的骚操作，@Debatrix 评论道：

真·大佬操作orz

## Topics

**分类目录:** [Windows](https://www.appinn.com/category/windows/?output_format=md), [问答](https://www.appinn.com/category/question-and-answers/?output_format=md)

**标签:** [Git](https://www.appinn.com/tag/git/?output_format=md), [twp](https://www.appinn.com/tag/twp/?output_format=md), [代码](https://www.appinn.com/tag/%e4%bb%a3%e7%a0%81/?output_format=md), [展示](https://www.appinn.com/tag/%e5%b1%95%e7%a4%ba/?output_format=md), [文件管理器](https://www.appinn.com/tag/%e6%96%87%e4%bb%b6%e7%ae%a1%e7%90%86%e5%99%a8/?output_format=md)