Difference between revisions of "Git pull -a"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 26: Line 26:
  
  
  git pull --all  
+
  [[git pull --all]]
 
  You are not currently on a branch.
 
  You are not currently on a branch.
 
  Please specify which branch you want to merge with.
 
  Please specify which branch you want to merge with.

Revision as of 19:32, 8 March 2023


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.


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: