S
S
Stanisav2015-04-02 08:32:43
Java
Stanisav, 2015-04-02 08:32:43

How to make a convenient review for a large number of commits?

Good afternoon. It is necessary to make a review of the implemented functionality, all commits are marked with a certain prefix. How can you make a separate patch or something else to see the difference between the current situation and the state "before implementation" within these commits. There are many different commits in the repository, so just git diff is not suitable. Can I somehow pull them into a separate branch and see the difference?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2015-04-02
@NCNecros

git checkout -b review-branch
git rebase -i <идентификатор первого интересного коммита>
<удалить все лишние коммиты в списке rebase>
<разрешить возникшие в процессе ребейза конфликты>
git diff <идентификатор первого интересного коммита>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question