Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create documentation for changing $HOME path on Windows #322

Open
parkerbxyz opened this issue Sep 8, 2021 · 0 comments
Open

Create documentation for changing $HOME path on Windows #322

parkerbxyz opened this issue Sep 8, 2021 · 0 comments
Assignees

Comments

@parkerbxyz
Copy link
Contributor

Windows users that have a $HOME path that points to a network drive location will experience difficulties using Git and Git Bash. Some of these difficulties include:

  • Very slow Git commands

    This can happen when Git/Git Bash is installed on the network drive or when running commands from a network drive location.

  • Permissions errors

    Sometimes these network drives are read-only, so commands like git config will return a PERMISSION DENIED error.

The following should fix these problems:

  1. Open a Command Prompt window (Open the Start menu, type cmd, and press return)

  2. Run the following command:

    setx HOME "%USERPROFILE%"
    
  3. Press return. You should see SUCCESS: Specified value was saved.

  4. Close the Command Prompt window

  5. Open Git Bash or restart it if it was already open

@parkerbxyz parkerbxyz self-assigned this Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant