$ git clone -n https://gitee.com/happy_orange/elfutils.git /var/lib/mock/dist-an23-build-120416-45966/root/chroot_tmpdir/scmroot/elfutils Cloning into '/var/lib/mock/dist-an23-build-120416-45966/root/chroot_tmpdir/scmroot/elfutils'... $ git reset --hard 6c0d3087075f9901668228df23f675d615d52020 HEAD is now at 6c0d308 rebuild package