$ git clone -n https://gitee.com/src-anolis-os/smartmontools.git /var/lib/mock/dist-an23.3-build-424016-72931/root/chroot_tmpdir/scmroot/smartmontools Cloning into '/var/lib/mock/dist-an23.3-build-424016-72931/root/chroot_tmpdir/scmroot/smartmontools'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/smartmontools * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 460cc4b Update to 7.4 and fix bug