$ git clone -n https://gitee.com/src-anolis-os/bash.git /var/lib/mock/dist-an23-build-336053-69664/root/chroot_tmpdir/scmroot/bash Cloning into '/var/lib/mock/dist-an23-build-336053-69664/root/chroot_tmpdir/scmroot/bash'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/bash * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2b46076 5.2.15