Difference between revisions of "Git pull"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
ssh: connect to host XXXXXXX port [[2224]]: [[Operation not permitted]] | ssh: connect to host XXXXXXX port [[2224]]: [[Operation not permitted]] | ||
fatal: Could not read from remote repository. | fatal: Could not read from remote repository. | ||
+ | |||
+ | |||
+ | git pull | ||
+ | warning: Pulling without specifying how to reconcile divergent branches is | ||
+ | discouraged. You can squelch this message by running one of the following | ||
+ | commands sometime before your next pull: | ||
+ | |||
+ | git config pull.rebase false # merge (the default strategy) | ||
+ | git config pull.rebase true # rebase | ||
+ | git config pull.ff only # fast-forward only | ||
+ | |||
+ | You can replace "git config" with "git config --global" to set a default | ||
+ | preference for all repositories. You can also pass --rebase, --no-rebase, | ||
+ | or --ff-only on the command line to override the configured default per | ||
+ | invocation. | ||
+ | |||
+ | Your configuration specifies to merge with the ref 'refs/heads/master' | ||
+ | from the remote, but no such ref was fetched. | ||
Revision as of 12:53, 14 March 2021
This article is a Draft. Help us to complete it.
git pull Already up to date.
git pull ssh: connect to host XXXXXXX port 2224: Operation not permitted fatal: Could not read from remote repository.
git pull warning: Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this message by running one of the following commands sometime before your next pull: git config pull.rebase false # merge (the default strategy) git config pull.rebase true # rebase git config pull.ff only # fast-forward only
You can replace "git config" with "git config --global" to set a default preference for all repositories. You can also pass --rebase, --no-rebase, or --ff-only on the command line to override the configured default per invocation. Your configuration specifies to merge with the ref 'refs/heads/master' from the remote, but no such ref was fetched.
Related commands
See also
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: