$ git clone -n https://gitee.com/src-anolis-sig/leapp.git /var/lib/mock/dist-an7_9-updates-build-203786-60912/root/chroot_tmpdir/scmroot/leapp Cloning into '/var/lib/mock/dist-an7_9-updates-build-203786-60912/root/chroot_tmpdir/scmroot/leapp'... $ git reset --hard ca8f9cbeb49afb3ee59e83850c4077f16d652d4e HEAD is now at ca8f9cb update migrear download url