$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/dde-rpm/dde-printer /var/lib/mock/dist-an8-dde-build-50074-22701/root/chroot_tmpdir/scmroot/dde-printer Cloning into '/var/lib/mock/dist-an8-dde-build-50074-22701/root/chroot_tmpdir/scmroot/dde-printer'... $ git reset --hard origin/a8 HEAD is now at 8256989 init package