From the course: Programming Foundations: Version Control with Git (2020)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using the command line

Using the command line

From the course: Programming Foundations: Version Control with Git (2020)

Start my 1-month free trial

Using the command line

- One way to use Git is with the command line tool. If you haven't used the command line before, it does take a little practice, because instead of clicking on an icon to open a program or dragging a folder to move it to another location, each action requires typing out a specific command. It's kind of like writing your own code rather than using drag and drop software. Command line tools such as Terminal on a Mac and Powershell on Windows don't have any graphical representation such as buttons. Instead, all the interactions are based on typing out specific commands. While not required for using Git, many developers prefer the command line, because in some cases it may be easier or more flexible for performing certain actions. Even if you decide to use a GUI, it's good to have a general understanding of how Git works using the command line. Plus, the command line is the only place you can run all the Git commands.…

Contents