$ git clone -n https://gitee.com/Alihq/hfsplus-tools.git /var/lib/mock/dist-an23-build-253553-63523/root/chroot_tmpdir/scmroot/hfsplus-tools Cloning into '/var/lib/mock/dist-an23-build-253553-63523/root/chroot_tmpdir/scmroot/hfsplus-tools'... $ git reset --hard dd7cd741024ce79cbb9e1e766c5d6509951ac540 HEAD is now at dd7cd74 Refactor the spec file