Balry
Balry

Reputation: 77

is there a way to reviews commits to bitbucket repositories without using pull request?

I am trying to have code reviews on each commit done since team members are directly connected to a bitbucket repository... I am trying to do this instead of having team members fork the main repository and create pull request while also avoiding the use of branches.

I know it is not a traditional way of doing things, but keeping it simple would be a huge benefit for this team as I have a a few new git users that do not know how to manage their own repository.

Upvotes: 1

Views: 1019

Answers (1)

Calvin Iyer
Calvin Iyer

Reputation: 161

I don't think it's possible to have code reviews if all the team members use the same repository and same branch to commit to.

I think the simplest way to achieve this would be to make everyone branch out from a fixed branch (usually dev) and to disallow anyone to commit directly to it. The only way to have their latest changes merged into this branch would be via a pull request which needs to be reviewed.

Upvotes: 2

Related Questions