To work with pull requests in SourceCraft, including for approvals, you do not need to switch to an IDE on your local computer: you can do all the steps in the SourceCraft interface. You can navigate and search through the project code and edit the code.
Once a pull request is created, each push of changes to a remote repository branch creates a new iteration. This iteration includes all commits made before the git push command was executed.
To create a new iteration:
In the same branch the pull request was created from, make new changes to the repository files.
Add the modified files to the git index, commit, and push the changes to the remote repository:
Under Code on the repository page, navigate to Pull requests.
Select a pull request.
In the top-right corner, click next to Merge pull request.
Select the method of merging with the target branch:
Create a merge commit: Separate merge commit is created in the target branch, which saves the revision history of both branches. This gives you a clear idea of when and how the merge had taken place, while keeping the full development history unchanged.
Squash and merge: Before merging with the target branch, commits from the branch with changes are combined into a single commit. This helps maintain a cleaner and simpler revision history by reducing a series of small commits to a single one.
Rebase and merge: Commits from the branch with changes are joined to the main branch without creating a special merge commit. This moves commits from the branch with changes to the end of the target branch, preserving a linear revision history.
In the top-right corner, click with the merge method you selected.