Version
The Pull Requests version is a snapshot of the different commit statuses in a PR. If changes are needed during the review, you can continue to submit code in your own branch, with each submission creating a new version. This allows you to:
- Track the history of code changes: See how the code evolves in the PR, thus better understanding the development process of the code.
- Compare different versions: Easily compare different versions of the PR to see which code has been added, deleted, or modified.
View Versions
The basic steps for viewing versions are as follows:
- Click on "Pull Requests" after the project details page and select the PR whose version you want to view.
- On the PR details page, click "File Changes" and then click "Latest Version" to view the PR's commit version.
- You can select a historical version. Once a version is selected, you will see a comparison view between the current version and the selected version, with added lines displayed in green and deleted lines in red.