$ git clone -n https://gitee.com/src-anolis-os/bash.git /var/lib/mock/dist-an27-build-562319-90260/root/chroot_tmpdir/scmroot/bash Cloning into '/var/lib/mock/dist-an27-build-562319-90260/root/chroot_tmpdir/scmroot/bash'... $ git reset --hard origin/a27 HEAD is now at 02b11c5 remove patches