How to update my Django website

Posted July 30, 2021 166 views

I published my website using DigitalOcean while following this tutorial: [](http://)
It works very well. However, I don’t know how to update my website. When I look up how to update it, everyone says to “pull using git”, but I don’t understand how to do it. I tried to clone the website to my computer by typing: “git clone example@IPaddress” in my command line but it doesn’t seem to work.
Any ideas on how I can solve my problem?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


Is your project already pushed to GitHub? If so you could clone the project to your local PC by running the following command:

git clone

Then you could make the changes to your project locally and once you are ready you can commit and push the changes to GitHub again:

git add .
git commit -m "Your Commit Message"
git push origin main

For more information on how to get started with Git and GitHub I could suggest taking a look at this free eBook here:

Hope that this helps.