$ git clone -n https://gitee.com/happy_orange/xfsprogs.git /var/lib/mock/dist-an23-build-344446-70099/root/chroot_tmpdir/scmroot/xfsprogs Cloning into '/var/lib/mock/dist-an23-build-344446-70099/root/chroot_tmpdir/scmroot/xfsprogs'... $ git reset --hard 5b4e5e73121c0b5aa1c86856c2881442091b5b1b HEAD is now at 5b4e5e7 update to 6.5.0