Change default directory of GitBash in Windows

  1. To see the current default directory . Run this. It will open Explorer in the default directory.
    • $ explorer .
  2. Goto GitBash shortcut and right click and select properties. Change the 'Start In' field accordingly.
  3. And also remove --cd-to-home from Target location field




Comments

Popular posts from this blog

Laravel Sail on Windows issue - "cmdlet Invoke-WebRequest at command pipeline position 1"

GIT Error: The following untracked working tree files would be overwritten by merge:

How to point Magento multi websites to domains