Blog 1

Random Talk on Random Thoughts

Git Repositories in USB Drives on Windows

| Comments |


git bash

How to access my USB drive (F:/) in Git Bash?

I had tried closing all instances of Git Bash and re-opening them again.1 However, it didn’t worked.

Raison d’être

If users can use Git command line utilities in cmd.exe, then what’s the point of asking the above question?

Without stopping ssh-agent.exe, one can’t pull Git repositories from the hard disk to the USB drive.



The culprit is ssh-agent.exe. Killing it will do.2



The USB drive (F:/) can now be detected in Git Bash.

  1. mount external drive on windows7 for git in Super User 

  2. Git “unable to determine absolute path of git directory” in Stack Overflow

    Killing the ssh-agent.exe process works for me.

    Nikolaos Georgiou