$ git clone -n https://gitee.com/cobratoxin/cracklib.git /var/lib/mock/dist-an8.8-build-282690-64700/root/chroot_tmpdir/scmroot/cracklib Cloning into '/var/lib/mock/dist-an8.8-build-282690-64700/root/chroot_tmpdir/scmroot/cracklib'... $ git fetch origin df23dd9a24f7c9f5e5c526b744a712f7d46c1d5a:KOJI_FETCH_HEAD From https://gitee.com/cobratoxin/cracklib * [new ref] df23dd9a24f7c9f5e5c526b744a712f7d46c1d5a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at df23dd9 spec: add doc sub package