Answers for "git bash change directory to desktop"

-1

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.
Posted by: Guest on July-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language