Up and Running with Git Transcripts
Chapter: The '6' core git operations
Lecture: Push and pull
0:00 So if this add and commit workflow doesn't change the remote server and synchronized with other
0:05 users, how do we do that?
0:07 Well, that's push and pull.
0:08 So we've got this workflow down here in the bottom left that we just talked about
0:11 It's already all done. I've done a bunch of commits locally.
0:14 If I want to take those changes and share them back with other users and make
0:18 them officially part of the software,
0:20 I need to push that to the remote server and synchronize everything there.
0:25 Say this bunch of changes, maybe seven different commits across different branches.
0:30 I want to push that over to the server so that it saves it for anyone
0:34 else who might clone it or work with it.
0:37 Similarly, other people might have done this or even I could have done this on
0:40 my laptop and now I'm on some other computer.
0:43 I want to get it back.
0:44 I need to get those other changes locally.
0:47 So that's pull Keep in mind this is our interaction with our local copy of the
0:54 repository and the server hosted one.
0:56 But there are other developers doing the same thing making their changes locally and then synchronizing those back and forth with push and pull.