undefinedfix
Sign in

Git pull cannot pull remote data

yched edited in Tue, 07 Jun 2022

Use git pull -- rebase origin master to prompt all the time! [rejected]

Using git in win10

Related codes

>git pull --rebase origin Order:Order
 ! [rejected]        Order-> Order(non-fast-forward)

How do you solve this problem

2 Replies
zkuir
commented on Tue, 07 Jun 2022

(non fast forward) look at this prompt. You can't fast forward. It means that the local branch is not the direct descendant of the remote branch, so you need to merge it manually

Execute git fetch first, then git merge XXXX

czlovjek
commented on Tue, 07 Jun 2022

1. Check whether git permission is available. 2. Check whether git key is configured

lock This question has been locked and the reply function has been disabled.