$ git clone -n https://gitee.com/happy_orange/osinfo-db-tools.git /var/lib/mock/dist-an23-build-343910-70069/root/chroot_tmpdir/scmroot/osinfo-db-tools Cloning into '/var/lib/mock/dist-an23-build-343910-70069/root/chroot_tmpdir/scmroot/osinfo-db-tools'... $ git reset --hard af7ced63b6ca86c522d248d1da3aa752e284c4dd HEAD is now at af7ced6 update to 1.11.0