🔀Git Pull
Also known as Pull
The team's new commits come down from the remote into your branch.
Think of it like
Think of it like collecting your post and opening it at once. The new news is now on your desk.
Example
Jack pulls first thing every morning. His copy then has everything Emma pushed the night before.
Why it matters
Definition
Example code
console
$ git pull
Updating 68ba79c..643e9b2
Fast-forward
about.html | 1 +Common mistake
Key takeaways
- 1Fetch plus merge. Two steps done as one.
- 2Changes your files. Your branch catches up.
- 3Pull often. Small merges are easy merges.