$ git clone -n https://gitee.com/src-anolis-sig/keentune_brain.git /var/lib/mock/dist-an8-keentune-build-168918-53885/root/chroot_tmpdir/scmroot/keentune_brain Cloning into '/var/lib/mock/dist-an8-keentune-build-168918-53885/root/chroot_tmpdir/scmroot/keentune_brain'... $ git reset --hard origin/a8-1.5.0 HEAD is now at 1f25d08 update to keentune-brain 1.5.0