$ git clone -n https://gitee.com/fundawang/libtiff.git /var/lib/mock/dist-an23-build-194414-60852/root/chroot_tmpdir/scmroot/libtiff Cloning into '/var/lib/mock/dist-an23-build-194414-60852/root/chroot_tmpdir/scmroot/libtiff'... $ git fetch origin 04f78458035fcc85fb2b3de9777cb435b8e1681f:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libtiff * [new ref] 04f78458035fcc85fb2b3de9777cb435b8e1681f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 04f7845 drop static lib