$ git clone -n https://gitee.com/xhuan28/hexl.git /var/lib/mock/dist-an8-exp-build-140856-53879/root/chroot_tmpdir/scmroot/hexl Cloning into '/var/lib/mock/dist-an8-exp-build-140856-53879/root/chroot_tmpdir/scmroot/hexl'... $ git reset --hard origin/a8 HEAD is now at 9d73149 update patch and spec