Git Bash is used in the example. Sometime you need to change the location of your default Git directory to locate your .ssh keys for easy access. This can be done as follows:

Via Git Bash

Use git bash to change HOME to C:\Users\ybk. You can use pwd or echo $HOME to check your current HOME directory.

pwd
setx HOME "/c/Users/ybk/"

As a reminder, this will change the HOME directory for all programs that need access to HOME directory such as Emacs, Vim etc.

Via menu options

This is for Windows user. The steps are:

home  path 
comments powered by Disqus