$ git clone -n https://gitee.com/zhaohang_mskdxl/debugedit.git /var/lib/mock/dist-an23.3-build-421244-72884/root/chroot_tmpdir/scmroot/debugedit Cloning into '/var/lib/mock/dist-an23.3-build-421244-72884/root/chroot_tmpdir/scmroot/debugedit'... $ git fetch origin dd7b1afad39b7b29ed4ffdf85c773d2228e028f7:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/debugedit * [new ref] dd7b1afad39b7b29ed4ffdf85c773d2228e028f7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dd7b1af update to debugedit-5.1-1