

open Same as "double-clicking" a file or folder in finder.Back out to the parent directory of the current directory. cd This by itself will navigate all the way out to your Home Directory.This is helpful when trying to find hidden files like. ls -a include hidden files in the list of directories and files.ls List the directories and files inside the current directory.pwd Figure out which directory you are currently in by "Printing the Working Directory".Open up terminal, cmd + space "terminal".Check out this Terminal Cheat Sheet for Mac for a more complete list of commands. Using Terminal, we often refer to folders as directories. There are just a few basic commands needed to navigate around in Terminal. The Terminal is much like the finder, but less pretty. You can click the video link in each section for a video walkthrough or watch the video playlist now. This Guide introduces using Git with Terminal. Git stores your files like a stream of snapshots, allowing you and other collaborators to make changes to projects and keep everything in sync. The local clone will be created.Git is an essential tool in the developers toolkit. Then by pressing “Command” and “v” on your keyboard to paste the path into terminal.ĥ.Type “git clone”, and then paste the URL you copied in step 2. You can right-click the folder in Finder and choose “Copy ” to copy the path into clipboard. Type cd and the directory where you want the cloned directory to be made. Once it’s opened, you can right-click the Terminal icon in dock and choose “Options > Keep in Dock” so that you can open it directly from dock next time.Ĥ. You can do this by openning Launchpad and search for Terminal. Click the Copy icon to copy the clone URL for the repository.ģ. Open the main page of the repository in browser. You can clone the repository to your mac computer in order to create a local copy and sync between the two locations.ġ. A repository on GitHub is a remote repository. During development of Node.JS, you may need to clone a GitHub reposity to local mac computer.
