$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/edac-utils.git /var/lib/mock/dist-an7-build-27589-15184/root/chroot_tmpdir/scmroot/edac-utils Cloning into '/var/lib/mock/dist-an7-build-27589-15184/root/chroot_tmpdir/scmroot/edac-utils'... $ git reset --hard origin/a7 HEAD is now at 269e013 import edac-utils-0.16-16.el7.src.rpm