1. I did an experiment, first commit, and then pull, and FETCH_HEAD different situations. Then I use the first pull below to report an error directly without merging. The second is automatic merge, but there may be conflicts.
xxx:test_git horsen$ git pull origin developer:test1
From xxx! [rejected] developer-> test1 (non-fast-forward)
xxx:test_git horsen$ git pull origin developer
From xxxx * branch developer-> FETCH_HEAD Auto-merging ttt1.txt CONFLICT (content): Merge conflict in ttt1.txt Automatic
merge failed; fix conflicts and then commit the result.
2. The second kind of question
is that the current branch is omitted. Isn"t the first reasonable way of writing equivalent to the second way of writing
Why can the second kind merge, the second kind of direct rejected
I hope the boss will solve the problem, thank you