From the course: Programming Foundations: Version Control with Git
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Using command line - Git Tutorial
From the course: Programming Foundations: Version Control with Git
Using 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 representations, 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 the Gooey, 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. Git gooeys provide useful visualizations for many Git…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Using command line1m 17s
-
(Locked)
Command-line basics6m 3s
-
(Locked)
Configuring Git settings2m 46s
-
(Locked)
HTTPS vs. SSH4m 16s
-
(Locked)
Setting up a local repository4m 18s
-
(Locked)
Managing version history with Git add and commit2m 36s
-
(Locked)
Exercise: Creating project files4m 56s
-
(Locked)
Exercise: Git add and Git commit3m 47s
-
(Locked)
Creating a remote repository2m 13s
-
(Locked)
Syncing with git push and pull5m 50s
-
(Locked)
Deleting a repository3m 7s
-
(Locked)
Cloning a remote repo4m 26s
-
(Locked)
Challenge: Putting it all together1m 43s
-
(Locked)
Solution: Putting it all together6m 19s
-
(Locked)
-
-