$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/atk.git /var/lib/mock/dist-an7-updates-build-42752-21665/root/chroot_tmpdir/scmroot/atk Cloning into '/var/lib/mock/dist-an7-updates-build-42752-21665/root/chroot_tmpdir/scmroot/atk'... $ git reset --hard origin/a7 HEAD is now at 05fdfb7 update to atk-2.28.1-2.el7.src.rpm