Joey
Joey

Reputation: 153

Is it possible to review an old commit (ie. already merged commit)?

I had an audience member ask if Gerrit will allow you to review a commit after the fact. This would allow their current project to keep moving forward while their larger and older team could continue to learn Gerrit usage along the way. This way, their next project could fully adopt Gerrit as a gate for their commits as intended.

Upvotes: 1

Views: 1129

Answers (1)

danglingpointer
danglingpointer

Reputation: 4920

The answer to your question, yes it's possible to review the old commit using Gerrit.


Here review means you want developers or another person to view the old commit. It means you want to review the merged commit?

General work cycle is review before the merge.

git checkout <old_commit>
git review

git-review is a command-line tool for Git / Gerrit to submit a change or to fetch an existing one.

Or its possible to amend

Upvotes: 3

Related Questions