$ git clone -n https://gitee.com/src-anolis-os/rpmdevtools.git /var/lib/mock/dist-an23-build-90811-45301/root/chroot_tmpdir/scmroot/rpmdevtools Cloning into '/var/lib/mock/dist-an23-build-90811-45301/root/chroot_tmpdir/scmroot/rpmdevtools'... $ git reset --hard c359e1a0f9b0bed29542aab5cab6c57d2dc4b480 HEAD is now at c359e1a init from upstream