$ git clone -n https://gitee.com/happy_orange/dragonwell11_1.git /var/lib/mock/dist-an23-build-91701-45364/root/chroot_tmpdir/scmroot/dragonwell11_1 Cloning into '/var/lib/mock/dist-an23-build-91701-45364/root/chroot_tmpdir/scmroot/dragonwell11_1'... $ git reset --hard d17f29a85daf6c47a458305c7ed763744f9c21c5 HEAD is now at d17f29a init package