$ git clone -n https://gitee.com/happy_orange/he-toolkit.git /var/lib/mock/dist-an23-build-166760-58808/root/chroot_tmpdir/scmroot/he-toolkit Cloning into '/var/lib/mock/dist-an23-build-166760-58808/root/chroot_tmpdir/scmroot/he-toolkit'... $ git reset --hard de9edb9cf2baac22c49cc8c64ee1589217e1bca5 HEAD is now at de9edb9 init package