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