$ git clone -n https://gitee.com/src-opencloudos-rpms/e2fsprogs /var/lib/mock/dist-oc8-build-32452-9752/root/chroot_tmpdir/scmroot/e2fsprogs Cloning into '/var/lib/mock/dist-oc8-build-32452-9752/root/chroot_tmpdir/scmroot/e2fsprogs'... $ git reset --hard origin/oc8 HEAD is now at 5ed592c import e2fsprogs-1.45.6-5.tl3