Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
Automation, Orchestration, and Scripting
Card 47 of 113
47 / 113
Running git pull is equivalent to running git fetch followed by git reset --hard on the tracking branch.
Front
Running git pull is equivalent to running git fetch followed by git reset --hard on the tracking branch.
Back
By default, git pull is git fetch followed by git merge of the upstream branch into the current branch (or a rebase if configured). It preserves local commits. A hard reset would discard local commits and uncommitted changes.
Show the back
Press the card to see the back
Study this deck