Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?
share|improve this question
Restarting Git Bash works for me. $ git --version => git version 1.8.0.msysgit.0 – gronostaj Nov 7 '13 at 18:51
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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .