[功能请求]bat 脚本根据 GIT_INSTALL_ROOT 变量判断 git 目录

Open
#72 0 comments 0 reactions 0 assignees View on GitHub

@hour-keeper is already working on this.

Since May 16, 2025.

  • #73 by @hour-keeper — closed without merging
  • #81 by @hour-keeper — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
git, shell
Domain
cli

Research direction

Start by locating the repository's bat script and checking how it currently finds Git for Windows. Verify how GIT_INSTALL_ROOT is exposed for custom installations, then run the script in both default and custom Git environments; done means the custom directory is detected without requiring Git Bash.

Written by the indexing model from the issue text.

Description

目前 bat 脚本只能检测默认路径下的 git for windows,自定义安装的 git 就只能自行在 git bash 下运行脚本,部分第三方软件使用 GIT_INSTALL_ROOT 定位自定义安装目录,可以加入这个功能解决这个问题

Dominant language
Shell
Stars
2k
Forks
171
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rime/plum

All issues in rime/plum

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.