Doing code reviews with Crucible when using Git

D K
Contributor
August 12, 2013

Hi,

What is the best way to create Crucible code reviews when using Git?

Commits are made to the local Git repo and then pushed to remote. But by the time the code review gets to the remote repo it is probably too late to review.

So how do I review local commits? Whats do most team do?

2 answers

1 accepted

0 votes
Answer accepted
Felipe Kraemer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 18, 2013

Hi there,

Maybe you can create pre-commit reviews after committing to local Git repo and before pushing it to remote?

https://confluence.atlassian.com/display/CRUCIBLE/Adding+content+to+the+review#Addingcontenttothereview-precommit

https://confluence.atlassian.com/display/CRUCIBLE/Creating+patch+files+for+pre-commit+reviews

I hope this helps!

0 votes
Andreas Krey January 19, 2014

We're trying to push them into a hidden/anonymous branch and then start a review on that. But running into the problem that crucible does not recognize these commits.

Andreas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events