$ git clone -n https://gitee.com/enkilee/grep.git /var/lib/mock/dist-an8.9-build-375310-71669/root/chroot_tmpdir/scmroot/grep Cloning into '/var/lib/mock/dist-an8.9-build-375310-71669/root/chroot_tmpdir/scmroot/grep'... $ git reset --hard ff9e95d5a8b271ec0a15d486847065019e5558d3 HEAD is now at ff9e95d spec: add doc sub package