| Module | GitReview::Commands |
| In: |
lib/git-review/commands.rb
|
Remove remotes with ‘review’ prefix (left over from previous reviews). Prune all existing remotes and delete obsolete branches (left over from already closed requests).
Prepare local repository to create a new request. NOTE:
People should work on local branches, but especially for single commit changes, more often than not, they don't. Therefore this is called automatically before creating a pull request, such that we create a proper feature branch for them, to be able to use code review the way it is intended.