$ git clone -n https://gitee.com/wency_cn/cups_1768553364.git /var/lib/mock/dist-an23-build-507634-74937/root/chroot_tmpdir/scmroot/cups_1768553364 Cloning into '/var/lib/mock/dist-an23-build-507634-74937/root/chroot_tmpdir/scmroot/cups_1768553364'... $ git fetch origin a0c026a73fadf80c288308ed7e6b417b04bd3f97:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/cups_1768553364 * [new ref] a0c026a73fadf80c288308ed7e6b417b04bd3f97 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a0c026a Update code from upstream