how to go back one directory in git bash
snippet in javascript

how to go back one directory in git bash

user6695

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 /"