$ git clone -n https://gitee.com/wenyuzifang/python-dns_1759051284.git /var/lib/mock/dist-an23-build-472045-74118/root/chroot_tmpdir/scmroot/python-dns_1759051284 Cloning into '/var/lib/mock/dist-an23-build-472045-74118/root/chroot_tmpdir/scmroot/python-dns_1759051284'... $ git fetch origin 3de41bc0f50b87d90c74e526ff495044918133d0:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-dns_1759051284 * [new ref] 3de41bc0f50b87d90c74e526ff495044918133d0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3de41bc Update code from upstream