$ git clone -n https://gitee.com/happy_orange/seal_2.git /var/lib/mock/dist-an23-build-163943-58654/root/chroot_tmpdir/scmroot/seal_2 Cloning into '/var/lib/mock/dist-an23-build-163943-58654/root/chroot_tmpdir/scmroot/seal_2'... $ git reset --hard c7cd4ac48969526dbf10fcc1e1dd70c46f6889dc HEAD is now at c7cd4ac fix the head file path