$ git clone -n https://gitee.com/mgb01105731/dos2unix.git /var/lib/mock/dist-an23.2-build-417642-72829/root/chroot_tmpdir/scmroot/dos2unix Cloning into '/var/lib/mock/dist-an23.2-build-417642-72829/root/chroot_tmpdir/scmroot/dos2unix'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/dos2unix * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b0f9678 Refer to CentOS Stream dos2unix-7.5.2-1(tdawson@redhat.com)