$ git clone -n https://gitee.com/happy_orange/anolis-release.git /var/lib/mock/dist-an23-build-94829-45500/root/chroot_tmpdir/scmroot/anolis-release Cloning into '/var/lib/mock/dist-an23-build-94829-45500/root/chroot_tmpdir/scmroot/anolis-release'... $ git reset --hard ff552211a28f2cc0d0c4dd9d84da67f34bf875b7 HEAD is now at ff55221 update the Anolis repo