$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/cryptsetup.git /var/lib/mock/dist-an7-updates-build-42781-21665/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-an7-updates-build-42781-21665/root/chroot_tmpdir/scmroot/cryptsetup'... $ git reset --hard origin/a7 HEAD is now at 086c560 update to cryptsetup-2.0.3-6.el7.src.rpm