$ git clone -n https://gitee.com/Alihq/uboot-tools.git /var/lib/mock/dist-an23-build-252665-63493/root/chroot_tmpdir/scmroot/uboot-tools Cloning into '/var/lib/mock/dist-an23-build-252665-63493/root/chroot_tmpdir/scmroot/uboot-tools'... $ git reset --hard bc374f9271c96092f1bcb82a50750b6bc0df0b1e HEAD is now at bc374f9 Refactor the spec file