Difference between revisions of "Git merge origin/main"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
− | [[git merge | + | [[git merge origin/main --allow-unrelated-histories]] |
CONFLICT (add/add): Merge conflict in [[.gitignore]] | CONFLICT (add/add): Merge conflict in [[.gitignore]] | ||
Auto-merging .gitignore | Auto-merging .gitignore |
Revision as of 13:24, 19 October 2021
git merge origin/main fatal: refusing to merge unrelated histories
git merge origin/main --allow-unrelated-histories CONFLICT (add/add): Merge conflict in .gitignore Auto-merging .gitignore Automatic merge failed; fix conflicts and then commit the result.
See also
- Merge Request (MR), GitLab merge queue:
git merge
,git merge main
,git merge origin/main
,git merge main --allow-unrelated-histories
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: