$ git clone -n https://gitee.com/wenyuzifang/cups.git /var/lib/mock/dist-an23-build-469821-74027/root/chroot_tmpdir/scmroot/cups Cloning into '/var/lib/mock/dist-an23-build-469821-74027/root/chroot_tmpdir/scmroot/cups'... $ git fetch origin da56e56ceafc31ec6c4620801c543d15bce1ab95:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/cups * [new ref] da56e56ceafc31ec6c4620801c543d15bce1ab95 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at da56e56 Update code from upstream