I'm using Git for Windows on Windows 7.

When I adjust the PATH environment variable, the changes would not be applied immediately for console windows.

In order to force applying the changes for a conventional console window, it's necessary to close and reopen the console.

But this doesn't work for Git Bash console window. Changes to PATH are applied in Git Bash only after reboot.


  1. Why
  2. How do i force applying the changes in PATH for Git Bash without rebooting? Some command to run maybe?
  • 2
    Restarting Git Bash works for me. $ git --version => git version 1.8.0.msysgit.0 – gronostaj Nov 7 '13 at 18:51
  • 2
    Confirmed, restarting git bash works for me too – Forza Nov 7 '13 at 21:25

Okay, my problem was that i was starting Git Bash from a file manager's context menu. Without being restarted, the file manager remembered the obsolete PATH and somehow transferred it to Git Bash.

Thanks to @gronostaj and @Forza for testing this issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.