From the course: Git Essential Training
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Challenge: Push your first code
From the course: Git Essential Training
Challenge: Push your first code
- So we have learned a lot about Git so far. I think it's a great time for our first challenge. (cheerful music) You are going to push your first code to Git. To do that, you're first going to create a remote repository and initialize it with a readme. After that, you will clone it to your local environment. You're going to add a file called firstpush.txt. Don't forget, you need to add it to the staging area and then commit it locally. After that, you'll push the file to the remote repository.
Contents
-
-
-
-
-
-
Set up a remote repository2m 30s
-
(Locked)
Clone the remote repository1m 21s
-
(Locked)
Create a file and stage it1m 27s
-
(Locked)
Commit a file1m 8s
-
(Locked)
Push the file to the remote repository57s
-
(Locked)
The .git folder1m 37s
-
(Locked)
Initialize a repository locally and sync it to the remote repository2m 33s
-
(Locked)
Challenge: Push your first code41s
-
(Locked)
Solution: Push your first code40s
-
-
-
-