$ git clone -n https://gitee.com/src-anolis-os/mdevctl.git /var/lib/mock/dist-an23.2-build-423476-72922/root/chroot_tmpdir/scmroot/mdevctl Cloning into '/var/lib/mock/dist-an23.2-build-423476-72922/root/chroot_tmpdir/scmroot/mdevctl'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mdevctl * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 141b17a init from upstream