$ git clone -n https://gitee.com/src-anolis-os/hexedit.git /var/lib/mock/dist-an23-build-198541-60956/root/chroot_tmpdir/scmroot/hexedit Cloning into '/var/lib/mock/dist-an23-build-198541-60956/root/chroot_tmpdir/scmroot/hexedit'... $ git reset --hard origin/a23 HEAD is now at 9b1b00f update to 1.6