$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gawk.git /var/lib/mock/dist-an8.4-build-19396-8426/root/chroot_tmpdir/scmroot/gawk Cloning into '/var/lib/mock/dist-an8.4-build-19396-8426/root/chroot_tmpdir/scmroot/gawk'... $ git reset --hard origin/a8 HEAD is now at b203b5d update to gawk-4.2.1-2.el8.src.rpm