$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/ilmbase.git /var/lib/mock/dist-an7-build-38954-18927/root/chroot_tmpdir/scmroot/ilmbase Cloning into '/var/lib/mock/dist-an7-build-38954-18927/root/chroot_tmpdir/scmroot/ilmbase'... $ git reset --hard origin/a7 HEAD is now at 96ac08a Fix if flag when patch 100 in spec file with new mock version