E
E
Enfiladed2019-10-21 23:40:32
git
Enfiladed, 2019-10-21 23:40:32

What are the patterns for using git?

Hello! I decided to learn how to use the git, but I don’t know how to properly manage my project. Someone advised me to make a new branch every 2 hours. Somewhere just a lot of commits, someone every half an hour, someone every day. Is there an article somewhere, a manual, where you can find out all this? Thanks in advance)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-10-21
@Lisey

making a branch every N minutes/hours is nonsense.
the branch should be logical: saw a new feature - make a new branch, saw a new version - make a new branch, you need to check / experiment something - make a new branch.
commits - the more often, the better, especially if a lot of people are working on the code. but also not by the stopwatch.
there are no hard and fast rules, just use common sense. over time, you yourself will come to what is convenient and what is not very.
well, read about git flow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question