$ git clone -n https://gitee.com/src-opencloudos-rpms/giflib.git /var/lib/mock/dist-oc9-build-81046-54603/root/chroot_tmpdir/scmroot/giflib Cloning into '/var/lib/mock/dist-oc9-build-81046-54603/root/chroot_tmpdir/scmroot/giflib'... $ git fetch origin ba9c499e37ed80441347f25eba7ff751649286ed:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/giflib * [new ref] ba9c499e37ed80441347f25eba7ff751649286ed -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ba9c499 import giflib-5.2.1-7.tl4