$ git clone -n https://gitee.com/mgb01105731/logwatch.git /var/lib/mock/dist-an23.2-build-421861-72903/root/chroot_tmpdir/scmroot/logwatch Cloning into '/var/lib/mock/dist-an23.2-build-421861-72903/root/chroot_tmpdir/scmroot/logwatch'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/logwatch * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 480c7e0 Update to 7.11 from 7.9