Skip to content

Commit 3f11044

Browse files
committed
Does important work
1 parent a039471 commit 3f11044

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

docs/basics.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,7 @@ How is `fetch` different from `pull`? Pulling updates the HEAD of your repositor
179179

180180
{: .important }
181181
**How are `pull` and `fetch` different or similar?**
182-
183182
**`git fetch`** downloads changes from the remote and stores them in your remote-tracking branches (like `origin/main`), but leaves your working branch and local files completely untouched. You're essentially saying "show me what's out there" — you can then inspect the changes before deciding what to do with them.
184-
185183
**`git pull`** does a fetch and then immediately merges (or rebases, if configured) the fetched changes into your current branch. It's the two-step process collapsed into one command — convenient, but it can introduce merge commits or conflicts without you explicitly deciding to merge.
186184

187185

0 commit comments

Comments
 (0)