$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/ntp.git /var/lib/mock/dist-an7-updates-build-43179-21677/root/chroot_tmpdir/scmroot/ntp Cloning into '/var/lib/mock/dist-an7-updates-build-43179-21677/root/chroot_tmpdir/scmroot/ntp'... $ git reset --hard origin/a7 HEAD is now at 0b98456 update to ntp-4.2.6p5-29.el7.centos.2.src.rpm