Kaker Kaker - 3 months ago 11
Git Question

How to Commits changes from the local computer to a remote repository on the server using Git

hello i have a folder with the application on the computer and I have to put it to a remote repository on the server and run on the server (so that all developers see the change) using git.
How to do it.
I will add that on your computer and the server is installed git.
Thanks for the help.

Answer

You have to use git push for that.

git add "directory/fileName"
git commit -m "your comment here"    
git push origin master

For more detailed info:

How To Upload Files on GitHub

Comments