Answer the question
In order to leave comments, you need to log in
How to organize the scheme of work with git?
Good afternoon!
Need help with git. I am mastering git and have developed the following scheme of work for myself:
1) I install git on the vds server where the working project is located. I create a working project repository.
2) I install git on the local computer and copy the git repository from vds to the local computer
3) I make changes to the project and send it to vds
Question: on vds, git will automatically update the changes on the working project or you need to connect to vds and do some manipulations.
Please advise, is it worth using such a scheme or do you work with git somehow differently?
I want to use git without github hosting, Server -> local computer.
Answer the question
In order to leave comments, you need to log in
Read about git flow/github flow/gitlab flow and deployment.
About the local server is a bad idea. The screw will fly and at least you will lose all non-deployed changes. Use the cloud repository github, bitbucket etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question