Answer the question
In order to leave comments, you need to log in
Working environment: gulp + git + deploy to the server. How to work with git correctly?
I'm building a frontend in Gulp. The client needs to be shown the work, browserSync works very crookedly and is not stable, especially with regard to the tunnel being raised. Deployed a server on digital ocean. I want to set up the work with the following bundle: I collect via gulp, I commit to the repository and the source and build of the project, and I only pull the build to the server.
What is the best way to do this?
Answer the question
In order to leave comments, you need to log in
I can offer two options:
In general, I made 2 repos on bitbucket.
- In the first comic, according to all the rules, the source code.
- In the second commic only for the pull build on the server.
Either make git init only for the directory with builds, or write in .gitignore everything that should not participate in the commit history.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question