Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to change home directory of git bash

# First check in git bash what is the HOME location. Open git bash and run
echo $HOME

# Now change the HOME path by opening cmd and run
setx HOME "path/to/.ssh/loc" (I gave C:Usersprogrammergithub)

# Now cross check by running the echo command in git bash.
 
PREVIOUS NEXT
Tagged: #change #home #directory #git #bash
ADD COMMENT
Topic
Name
8+3 =