8000 Create documentation for changing `$HOME` path on Windows · Issue #322 · githubtraining/training-manual · GitHub
[go: up one dir, main page]

Skip to content

Create documentation for changing $HOME path on Windows #322

Open

Description

@parkerbxyz

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

Activity

  1. self-assigned this
    on Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0