gpush: add --list-rebase mode


--group doesn't test whether pushing with the specified base would
actually work, as that would be slow and is usually not necessary. the
latter will change with some upcoming features.

Change-Id: I545c611bfc48f44350e4eb0fd16853b985b7d4ec
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
commit74ace8d35d990829d25d3a8ede301688a13ff5ed
parentd2c616a6468c16ce44a8a8f8bfdcb2960acb97b0
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 9 Jan 2024 16:35:14 +0000