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
From the course: Programming Foundations: Version Control with Git (2020)
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
-
-
-
-
(Locked)
Using the command line1m 17s
-
(Locked)
Command line basics4m 15s
-
(Locked)
Configure Git settings3m 11s
-
(Locked)
Setting up a local repository3m 1s
-
(Locked)
Setting up a remote repository3m 43s
-
(Locked)
Adding changes with Git add and commit4m 50s
-
(Locked)
Keep repositories up to date with Git pull and push3m 34s
-
(Locked)
Deleting a repository or branch29s
-
(Locked)
Challenge: Putting it all together1m 31s
-
(Locked)
Solution: Putting it all together5m 39s
-
(Locked)
-
-