$ git clone -n https://gitee.com/deng-erwei/scheduler-group-identity.git /var/lib/mock/dist-an8.6-build-174713-58996/root/chroot_tmpdir/scmroot/scheduler-group-identity Cloning into '/var/lib/mock/dist-an8.6-build-174713-58996/root/chroot_tmpdir/scmroot/scheduler-group-identity'... $ git reset --hard 5b6719a750eec7cb5761de0c8e0f0a159578bb6e HEAD is now at 5b6719a spec: fix the BuildRequires of rpm