$ git clone -n https://gitee.com/lizhao2025/createrepo_c.git /var/lib/mock/dist-an23-build-499877-74764/root/chroot_tmpdir/scmroot/createrepo_c Cloning into '/var/lib/mock/dist-an23-build-499877-74764/root/chroot_tmpdir/scmroot/createrepo_c'... $ git fetch origin ecefe5e0ca27732a65e0082568ade61b71ed4303:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/createrepo_c * [new ref] ecefe5e0ca27732a65e0082568ade61b71ed4303 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ecefe5e Update code from upstream