$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libsecret.git /var/lib/mock/dist-an7-build-31981-15855/root/chroot_tmpdir/scmroot/libsecret Cloning into '/var/lib/mock/dist-an7-build-31981-15855/root/chroot_tmpdir/scmroot/libsecret'... $ git reset --hard origin/a7 HEAD is now at b8b375c import libsecret-0.18.6-1.el7.src.rpm