Difference between revisions of "Git pull -a"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
  * [new branch]      feature/yyyyy/xxxx -> origin/feature/yyyyy/xxxx
 
  * [new branch]      feature/yyyyy/xxxx -> origin/feature/yyyyy/xxxx
 
   7aeba2a..c5348fb  main      -> origin/main
 
   7aeba2a..c5348fb  main      -> origin/main
 +
 
  hint: Pulling without specifying how to reconcile divergent branches is
 
  hint: Pulling without specifying how to reconcile divergent branches is
 
  hint: discouraged. You can [[squelch]] this message by running one of the following
 
  hint: discouraged. You can [[squelch]] this message by running one of the following
Line 23: Line 24:
 
  hint: or [[--ff-only]] on the command line to override the configured default per
 
  hint: or [[--ff-only]] on the command line to override the configured default per
 
  hint: invocation.
 
  hint: invocation.
 +
 
  Already up to date.
 
  Already up to date.
  

Revision as of 02:01, 21 March 2023

Examples

git pull -a
remote: Enumerating objects: 82, done.
remote: Counting objects: 100% (46/46), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 82 (delta 25), reused 41 (delta 24), pack-reused 36
Unpacking objects: 100% (82/82), 21.44 KiB | 79.00 KiB/s, done.
From github.com:your-project/your-repo
* [new branch]      feature/yyyyy/xxxx -> origin/feature/yyyyy/xxxx
  7aeba2a..c5348fb  main       -> origin/main

hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.

Already up to date.


You are not currently on a branch.

git pull --all 
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

Related

See also

Advertising: