$ git clone -n https://gitee.com/src-anolis-os/tcsh.git /var/lib/mock/dist-an23.3-build-424434-72934/root/chroot_tmpdir/scmroot/tcsh Cloning into '/var/lib/mock/dist-an23.3-build-424434-72934/root/chroot_tmpdir/scmroot/tcsh'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tcsh * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b0bcccb update to tcsh-6.24.10