$ git clone -n http://gitee.com/src-anolis-os/device-mapper-multipath.git /var/lib/mock/dist-an7_9-updates-build-152163-52034/root/chroot_tmpdir/scmroot/device-mapper-multipath Cloning into '/var/lib/mock/dist-an7_9-updates-build-152163-52034/root/chroot_tmpdir/scmroot/device-mapper-multipath'... warning: redirecting to https://gitee.com/src-anolis-os/device-mapper-multipath.git/ $ git reset --hard origin/a7 HEAD is now at a7cd466 update to device-mapper-multipath-0.4.9-136.el7_9