git fetch origin

From wikieduonline
Jump to navigation Jump to search

git fetch origin (doc) git fetch origin downloads the latest changes from the remote repository (origin) to your local repository without merging them into your working branch.


git fetch origin && git status && git merge


git fetch origin
Username for 'https://github.com':
git fetch origin
remote: Enumerating objects: 1256, done.
remote: Counting objects: 100% (517/517), done.
remote: Compressing objects: 100% (139/139), done.
remote: Total 1256 (delta 416), reused 416 (delta 371), pack-reused 739 (from 1)
Receiving objects: 100% (1256/1256), 539.67 KiB | 867.00 KiB/s, done.
Resolving deltas: 100% (747/747), completed with 75 local objects.
From github.com:your-org/your-repo

Errors[edit]

Related[edit]

See also[edit]

Advertising: