How can I modify the source code of my project?

Posted September 4, 2021 164 views

I am trying to modify the source code of my project, source code in php. How can i do it.

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


In case that you are using Git and GitHub for your project, you could make the changes directly to your GitHub project and then pull them to your Droplet. If your project uses Git and if you are not familiar with it, you could learn more about it here:

If you are not using Git, then you could change your files directly on your server. There are two ways to do so:

  • Via SFTP:

  • Or via the terminal over SSH:

Hope that this helps!

by Lisa Tagliaferri
This cheat sheet-style guide provides a quick reference to some of the more common Git commands you may use when managing repositories and collaborating on software.