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