$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/ndctl.git /var/lib/mock/dist-an7-updates-build-43164-21674/root/chroot_tmpdir/scmroot/ndctl Cloning into '/var/lib/mock/dist-an7-updates-build-43164-21674/root/chroot_tmpdir/scmroot/ndctl'... $ git reset --hard origin/a7 HEAD is now at f493a80 update to ndctl-65-5.el7.src.rpm