$ git clone -n https://gitee.com/src-anolis-sig/leapp.git /var/lib/mock/dist-an7_9-updates-build-229479-62461/root/chroot_tmpdir/scmroot/leapp Cloning into '/var/lib/mock/dist-an7_9-updates-build-229479-62461/root/chroot_tmpdir/scmroot/leapp'... $ git reset --hard f06cd93ecef7e612b469ee30bf72ff5bb246fe85 HEAD is now at f06cd93 workaround for aliyun ecs epel setup