$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/yum /var/lib/mock/dist-an7-updates-build-49558-22400/root/chroot_tmpdir/scmroot/yum Cloning into '/var/lib/mock/dist-an7-updates-build-49558-22400/root/chroot_tmpdir/scmroot/yum'... $ git reset --hard origin/a7 HEAD is now at 79c48e3 update to yum-3.4.3-168.el7.centos.src.rpm