$ git clone -n https://gitee.com/Weisson/tcsh.git /var/lib/mock/dist-an23.3-build-417799-72869/root/chroot_tmpdir/scmroot/tcsh Cloning into '/var/lib/mock/dist-an23.3-build-417799-72869/root/chroot_tmpdir/scmroot/tcsh'... $ git fetch origin a38d1376af0a229bd84f924b85caa0a7b24e86ad:KOJI_FETCH_HEAD From https://gitee.com/Weisson/tcsh * [new ref] a38d1376af0a229bd84f924b85caa0a7b24e86ad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a38d137 Refer to CentOS Stream tcsh-6.24.10-5 (tdawson@redhat.com).