I published my website using DigitalOcean while following this tutorial: https://www.youtube.com/watch?v=Sa_kQheCnds&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p&index=13 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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
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 https://github.com/your_github_username/your_repository_name.git
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. Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.