Git in Unison with Unity Part 2
Objective: How to navigate Git Bash.
For starters let’s start by opening up Git Bash first. Once you have Git Bash open type ls which stands for lists inside of Git Bash. When you type ls it shows all current directories and files on your pc.
How to change Directories in Git Bash
To change Directories in Git Bash just type cd which stands for change directories. The second step would be to type the corresponding file your looking for from the list shown in Git Bash. In this case lets look for our desktop, in order to do that we must type cd and desktop. Another thing to remember if you wanna change directories on windows 11 is to type cd OneDrive/Desktop instead of cd Desktop to find your desktop from the list on your pc. The reason for this is on Windows 11 when you type ls short for list it shows OneDrive instead of desktop. If you don’t have windows 11 typing cd Desktop is fine instead.
How to auto-complete a shortcut in Git Bash
As a shortcut you can type the first two letters of the directory you want to navigate to and hit the tab key to auto-complete.
How to access a directory through the windows explorer through Git Bash
Stay tune for in Git in Unison with Unity part 3