Skip to content

About

.git folder info: branch, remote, HEAD commit, recent activity

Resources

Stars

13 stars

Watchers

0 watching

Forks

Repository files navigation

QuickLook.Plugin.GitFolderViewer

Build and Release GitHub Release

image

A QuickLook plugin that lets you preview .git folders with a single press of the spacebar.

中文说明

PixPin_2026-06-04_14-20-32

Features

Press spacebar on any .git folder in Windows Explorer to see:

  • Current branch (or detached HEAD state)
  • Tracking remote branch (e.g., origin/master)
  • Remote URL (e.g., https://github.com/...)
  • HEAD commit hash
  • Branch count (local + remote)
  • Last commit message
  • Recent activity (last 5 reflog entries)

All values are copyable — just click and select.

Localization

  • English (default)
  • Chinese (zh-CN) — automatically applied when system language is Chinese

Installation

From Releases (Recommended)

  1. Go to Releases
  2. Download the .qlplugin file
  3. Double-click the file — QuickLook will install it automatically

Quick Install

Select the .qlplugin file in Explorer and press spacebar — QuickLook will install it directly.

Manual

  1. Download the .qlplugin file from Releases
  2. Rename .qlplugin to .zip
  3. Extract to %LocalAppData%\QuickLook\QuickLook.Plugin
  4. Restart QuickLook

Build from Source

git clone --recurse-submodules https://github.com/Chendaqian/QuickLook.Plugin.GitFolderViewer.git
cd QuickLook.Plugin.GitFolderViewer
dotnet build src/QuickLook.Plugin.GitFolderViewer.csproj -c Release -p:LangVersion=preview

Output: build/Release/QuickLook.Plugin.GitFolderViewer.dll

Copy the DLL and Translations.config to the QuickLook plugin directory.

How It Works

This plugin reads git data directly from .git folder files — no git.exe required:

File Data
HEAD Current branch or detached commit
config Remote URLs, tracking branch config
refs/heads/ Branch count, HEAD commit hash
refs/remotes/ Remote branch count
COMMIT_EDITMSG Last commit message
logs/HEAD Recent reflog activity
packed-refs Fallback for packed refs

Requirements

License

GPL-3.0

Star History

Star History Chart

About

.git folder info: branch, remote, HEAD commit, recent activity

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages