$ git clone -n https://gitee.com/opencloudos-stream/giflib.git /var/lib/mock/dist-ocs23-base-build-270060-25836/root/chroot_tmpdir/scmroot/giflib Cloning into '/var/lib/mock/dist-ocs23-base-build-270060-25836/root/chroot_tmpdir/scmroot/giflib'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/giflib * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dbb0c33 Rebuilt for loongarch release