From the course: Git: Branches, Merges, and Remotes
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Push changes to a remote repository
From the course: Git: Branches, Merges, and Remotes
Push changes to a remote repository
- [Instructor] In the previous chapter we set up a remote repository at GitHub and pushed some branches to it. That sets the stage for collaboration. In this chapter we will learn the techniques needed to collaborate with other developers using a remote. Let's begin by learning how to push additional local changes to the remote. Before we can push new changes we need to make those changes. So those changes I have in mind are going to be to the tours.html page. If you drag this to a browser and open it up you'll see this is the tours page. And if we scroll down we have a list of different tours here. Backpack Cal as being one of them. If we click on the link for learn more you'll see it takes us to a detail page about Backpack Cal. What I want you to notice is that the file name for this is tour_detail and then the specific tour, So tour_detail is the format of this. Let's click back. If we go down to the next one, California Calm, there's not a file there yet. If I click learn more I…
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)
Push changes to a remote repository5m 21s
-
(Locked)
Fetch changes from a remote repository5m 1s
-
(Locked)
Merge in fetched changes4m 34s
-
(Locked)
Check out remote branches3m 9s
-
(Locked)
Push to an updated remote branch1m 45s
-
(Locked)
Delete a remote branch4m 26s
-
(Locked)
Enable collaboration3m 53s
-
(Locked)
Collaboration workflow7m 6s
-
(Locked)
-