From the course: Git for Teams

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Common pitfalls: Untracked pulls

Common pitfalls: Untracked pulls - Git Tutorial

From the course: Git for Teams

Start my 1-month free trial

Common pitfalls: Untracked pulls

- [Instructor] In this lesson, we're going to talk about one of the pitfalls that new users of Git commonly experience when they first start collaborating via a central repository with their team. So in this scenario, we have two team members, user one and user two. They're both working on a very simple repository that contains a demo file. If we take a look at the demo file, it's pretty simple. It just has some content in it. And let's imagine that user one wants to make a change to the demo file, so they open the file with vim and then they're going to go ahead and add their changes. Once they're satisfied with their changes, they can write the file, then they're going to add those changes to the stage and then perform the commit. At this point, they're going to then push those changes to the central repository and they're now available for all of the team to pull into their own local repositories. Now let's talk about user two. User two would also like to modify the demo file, so…

Contents