Change temporary file location

You can change the location of temporary files used by the Git Client when running commands.

Change temporary file location (v2.3 and earlier)

  1. Edit the script start-git-client located in:
    • Windows: %GIT_HOME%\mingw64\libexec\git-core\
    • UNIX, Linux, and MacOS: /usr/libexec/git-core/
  2. Edit the value of GIT_CLIENT_TEMP_DIR.

Note: The location of start-git-client on your system may be different

Back to top

Change temporary file location (v2.3.1.1 and later)

  1. Edit the script setup-git-dm located in:
    • Windows: %GIT_HOME%\mingw64\libexec\git-core\
    • UNIX, Linux, and MacOS: /usr/libexec/git-core/
  2. Edit the value of GIT_CLIENT_TEMP_DIR.

Note: The location of setup-git-dm on your system may be different

Back to top