$ git clone -n https://gitee.com/cobratoxin/libdaemon.git /var/lib/mock/dist-an8.8-build-287595-64868/root/chroot_tmpdir/scmroot/libdaemon Cloning into '/var/lib/mock/dist-an8.8-build-287595-64868/root/chroot_tmpdir/scmroot/libdaemon'... $ git fetch origin 02af81707854792acbb6dcf20fe2ef84e57c5bf3:KOJI_FETCH_HEAD From https://gitee.com/cobratoxin/libdaemon * [new ref] 02af81707854792acbb6dcf20fe2ef84e57c5bf3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 02af817 Add doc sub package