File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,8 +45,14 @@ async function main(args) {
4545 shell . echo ( `Fetching pull request #${ prNumber } with ${ prNumber } SHA(s) into branch range: pr/${ prNumber } _base..pr/${ prNumber } _top` ) ;
4646 shell . exec ( `git fetch -f git@github.com:angular/angular.git pull/${ prNumber } /head:pr/${ prNumber } _top` ) ;
4747
48+ shell . exec ( `git branch -f pr/${ prNumber } _bottom pr/${ prNumber } _top~${ prShaCount - 1 } ` ) ;
4849 shell . exec ( `git branch -f pr/${ prNumber } _base pr/${ prNumber } _top~${ prShaCount } ` ) ;
4950
51+ // Create aliases
52+ shell . exec ( `git branch -f pr/TOP pr/${ prNumber } _top` ) ;
53+ shell . exec ( `git branch -f pr/BASE pr/${ prNumber } _base` ) ;
54+ shell . exec ( `git branch -f pr/BOTTOM pr/${ prNumber } _bottom` ) ;
55+
5056 shell . echo ( `======================================================================================` ) ;
5157 shell . exec ( `git log --oneline --color pr/${ prNumber } _base..pr/${ prNumber } _top` ) ;
5258 shell . echo ( `======================================================================================` ) ;
You can’t perform that action at this time.
0 commit comments