Answers for "set home directory git bash"

0

how to go to home directory in git bash

“how to go back one directory in git bash” Code Answer's
To navigate to your home directory, use "cd" or "cd ~"
To navigate up one directory level, use "cd .."
To navigate to the previous directory (or back), use "cd -"
To navigate into the root directory, use "cd /"
Posted by: Guest on May-21-2021
-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