Git not working?


Why is my branch saying there is nothing to pull when it is 30+ commits behind main?


Screenshot 2023-10-10 at 5.09.38 PM

Because GitHub is comparing your branch with the main branch, while Replit is merely comparing the local copy of the Repo to the GirHub branch.

1 Like

Thanks for the swift response!

But how do I make it such that the comparison is between the main branch and my branch?
Such that I know when I am out of sync with main?

You could try adding the Repo to your Repl again on the main branch so you have two copies of it. Beyond that, you could check it on GitHub.