rejected main main non fast forward git code example Example: [rejected] main -> main (non-fast-forward) git pull --rebase this will solve the issue