$ git clone -n https://gitee.com/ocs-upgrade/sane-backends.git /var/lib/mock/dist-ocs23-base-build-297338-29027/root/chroot_tmpdir/scmroot/sane-backends Cloning into '/var/lib/mock/dist-ocs23-base-build-297338-29027/root/chroot_tmpdir/scmroot/sane-backends'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/sane-backends * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5a7c0dc update sane-backends.spec.