Quick Actions
git pull
Description
Fetch from and integrate with another repository or a local branch.
Command
git pull
Examples
Pull from remote
git pull origin main
Pull with rebase
git pull --rebase origin main
Fast-forward only
git pull --ff-only origin main
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
<remote> |
string | No | Remote repository name |
<branch> |
string | No | Branch to pull |
--rebase |
string | No | Use rebase instead of merge |
--ff-only |
string | No | Only allow fast-forward merges |
Command Info
Category:
Remote Operations
Type:
Git
Views:
7
Status:
Active
Tags
remote
download
sync
merge