Search code examples
pythondjangopythonanywhere

Modifications PythonAnywhere -> GitHub


I've made some changes directly on the code located in the PythonAnywhere files. In this way, some of them are a little bit different from the reppository GitHub files.

Assuming the PyhonAnywhere files are correct, what is the best way to 'copy' them and move to the GitHub?

Thank you!


Solution

  • If your PythonAnywhere project already connected to GitHub:

    1. Run Bash console on PythonAnywhere
    2. Move to directory with your repository
    3. Make git push