$ git clone -n https://gitee.com/YunFei-Zhu/docker.git /var/lib/mock/dist-an23.2-build-403244-72406/root/chroot_tmpdir/scmroot/docker Cloning into '/var/lib/mock/dist-an23.2-build-403244-72406/root/chroot_tmpdir/scmroot/docker'... $ git fetch origin bee8414686e58446dd5526906a215e56c7fd7b4a:KOJI_FETCH_HEAD From https://gitee.com/YunFei-Zhu/docker * [new ref] bee8414686e58446dd5526906a215e56c7fd7b4a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bee8414 fix build error