tj / tj/git-extras

Unable to update on Windows

Open
#1,087 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug os: windows
Dominant language
Shell
Stars
18.1k
Forks
1.2k
Avg merge
5d 17h
Merged PRs (30d)
1

Description

I'm unable to update git-extras using the command "git extras update" on Windows 10:

>>> sudo git extras update
Setting up 'git-extras'....
'C:\Users\Rafael' is not recognized as an internal or external command,
operable program or batch file.

My home folder is: "C:\Users\Rafael Dominiquini"
My git is installed on: "C:\Program Files\Git"

  • In the git-extras file, I debug this variables:
  local bin="$(command -v git-extras)"
  local prefix=${bin%/*/*}
  • Value:
BIN: /mingw64/bin/git-extras 
PREFIX: /mingw64

I was able to update the program using the installation method:

  • Cloning the repository
  • Running "sudo install.cmd"

Thanks

Contributor guide

Open the contributing guide

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.

Research direction

Start with the git-extras file and the git extras update path, using the reported Windows 10 command and the paths containing spaces as the reproduction. Compare that behavior with the working install.cmd method. Done means the update command runs successfully from the reported Windows setup; no test file is mentioned.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.