$ git clone -n https://gitee.com/src-anolis-os/gnome-kiosk.git /var/lib/mock/dist-an7_9-updates-build-370434-71186/root/chroot_tmpdir/scmroot/gnome-kiosk Cloning into '/var/lib/mock/dist-an7_9-updates-build-370434-71186/root/chroot_tmpdir/scmroot/gnome-kiosk'... $ git reset --hard ed840ce76ee036f5e2fda1d6c2240ffc640952aa HEAD is now at ed840ce Correct the source url