$ git clone -n https://gitee.com/src-anolis-os/pam_wrapper.git /var/lib/mock/dist-an23-build-236258-62811/root/chroot_tmpdir/scmroot/pam_wrapper Cloning into '/var/lib/mock/dist-an23-build-236258-62811/root/chroot_tmpdir/scmroot/pam_wrapper'... $ git reset --hard origin/a23 HEAD is now at 9696f25 Init package from upstream