$ git clone -n https://gitee.com/src-anolis-os/shadow-utils.git /var/lib/mock/dist-an23-build-129449-46262/root/chroot_tmpdir/scmroot/shadow-utils Cloning into '/var/lib/mock/dist-an23-build-129449-46262/root/chroot_tmpdir/scmroot/shadow-utils'... $ git reset --hard origin/a23 HEAD is now at 7f03b29 add nologin patch