Answer the question
In order to leave comments, you need to log in
How to organize work on your project through git?
Hello!
I work on my project alone, in the old fashioned way .. local version on my computer, upload via ftp, backup is made there daily, I upload it periodically to the computer, the cycle turns out like this))
I would like to add git, I read a similar topic: How to organize work with GIT for one person?
Questions arose , what is the best option for working on a project alone? So far I'm thinking this way:
1) The main version is on github, from there a bullet before work and push after the completion of part of the code (although if I work alone, I can only push?) Probably creating branches is also unnecessary?
2) Now the question is how to update the version on the server. In the topic that I indicated above, there is such an option:
give up ftp and deal with a normal deployment tool, for example capistrano (by the way, it uploads the code via git)
Answer the question
In order to leave comments, you need to log in
Through github is a normal option. You can also give remote access to git on your computer, if everything is fine with your hands and there are appropriate conditions.
Branches - optional, but it's easier with them, even when you work alone. There is no reason to limit yourself. Branches in the git do not take up space, you can create for each sneeze and also delete when they are not needed.
On the server - the same way, pick up via git. You can use git itself or any tool that uses git that you like best.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question