update my project with git command

Posted September 28, 2019 3.4k views

hello everybody ! so i have a project made with laravel and vuejs on degitalocean and I made some changes on my localhost (desktop) , now i want applied those changes on degitalocean server ( make an update to my project for files who was changed only )
how can i do that with git command ?

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

Hi @djebirihamza95,

Using git is the perfect way as you’ve decided.

Firstly, you’ll need to create a repo on github. They have a perfect article on how to do so HERE.

Once you have commited your code from your local environment, you’ll need to pull the changes on your DO server. There is another great article provided by github as well - HERE

Kind regards,