$ git clone -n https://gitee.com/Alihq/uboot-tools.git /var/lib/mock/dist-an23-build-252684-63493/root/chroot_tmpdir/scmroot/uboot-tools Cloning into '/var/lib/mock/dist-an23-build-252684-63493/root/chroot_tmpdir/scmroot/uboot-tools'... $ git reset --hard d8adf765a0ce0e71944bcd2c58a3f61bcd863962 HEAD is now at d8adf76 123