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