$ git clone -n http://gitee.com/src-anolis-os/ipmitool.git /var/lib/mock/dist-an8.7-build-274807-64202/root/chroot_tmpdir/scmroot/ipmitool Cloning into '/var/lib/mock/dist-an8.7-build-274807-64202/root/chroot_tmpdir/scmroot/ipmitool'... warning: redirecting to https://gitee.com/src-anolis-os/ipmitool.git/ $ git reset --hard origin/a8 HEAD is now at 1aebc33 Add doc sub package $ git lfs pull