R
R
run1822018-06-21 12:21:28
git
run182, 2018-06-21 12:21:28

How to automatically update a repository on a git server?

1) There is a website on the remote server
2) I installed git there
3) I added a remote repository:
git remote add origin [email protected]:myuser/project.git
git push -u origin master
4) Then I cloned the repository from github to my laptop and I make edits from it
5) When I push, changes are rolled only on github
How can I make them automatically appear on a remote server where the site itself is located?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question