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