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