main: display a warning when rebasing with uncommitted changes

Closes #338

Reported-by: 字龍(Vdragon) <Vdragon.Taiwan@gmail.com>
Cheered-on-by: Leho Kraav <leho@kraav.com>
Signed-off-by: David Aguilar <davvid@gmail.com>