Forums

how to pull my repo from git to update my existing project in pythonanywhere

i already clone my project into python anywhere but when i have update version of my project how do i pull the new update project to my existing on python anywhere

"git pull" should do it

it says "Please, commit your changes or stash them before you can merge."

You should commit your local changes or stash them before pulling if you want to keep them. If not, just git reset --hard and then git pull. That will wipe your local changes.

I have this same error

it says "Please, commit your changes or stash them before you can merge."

So this is exactly what you should do -- alternatively, as @fjl suggested above, you can reset those changes if you don't need them.