$ git clone -n https://gitee.com/zhaohang_mskdxl/createrepo_c.git /var/lib/mock/dist-an23.3-build-421052-72884/root/chroot_tmpdir/scmroot/createrepo_c Cloning into '/var/lib/mock/dist-an23.3-build-421052-72884/root/chroot_tmpdir/scmroot/createrepo_c'... $ git fetch origin 569ef6c623bc57e2a1fdb4dbe22bf2d1b5d52625:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/createrepo_c * [new ref] 569ef6c623bc57e2a1fdb4dbe22bf2d1b5d52625 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 569ef6c update to createrepo_c-1.1.2-4