git pull
CautionPull from remote
git pull
Fetches and merges remote changes; --rebase keeps history linear.
Examples
git pull --rebasePull with rebase
Syntax
git pull [--rebase]
Before you run it
May conflict with uncommitted local work.
Used when you see
Stuck in Git (push rejected / conflict)
2
See the whole flow →Bring in remote changes--rebase keeps it linear
Related commands
- git pushPush to remote
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store