$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/xcb-util-wm.git /var/lib/mock/dist-an7-build-33377-16169/root/chroot_tmpdir/scmroot/xcb-util-wm Cloning into '/var/lib/mock/dist-an7-build-33377-16169/root/chroot_tmpdir/scmroot/xcb-util-wm'... $ git reset --hard origin/a7 HEAD is now at fbf0f23 import xcb-util-wm-0.4.1-5.el7.src.rpm