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