H
H
hsadik2020-01-24 23:27:47
git
hsadik, 2020-01-24 23:27:47

Master branch in git?

Hello, I'm learning git and I have a question.
Several people push to the master branch. Let's say I'm working with my branch, doing a few pushes, the history of the change is visible. And when I decide to send all this to the master, will my entire branch with all the changes go to the master? Or just the latest version with no changelog?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Suntsev, 2020-01-24
@GreyCrew

Imagine the situation, you took soup from the pan and poured it into a bowl. (did a checkout)
Then they took and peppered the soup. (made a commit)
Then poured it with mayonnaise (made a commit)
Then put a couple of spoons of nails in there (made a commit)
And then put a bay leaf (made a commit)
And then poured it back into the soup pot (made a push to the master)
As a result, we have soup turned out not only with bay leaf, but also with mayonnaise, pepper and nails))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question