$ git clone -n https://gitee.com/Weisson/leapp-repository.git /var/lib/mock/dist-an8.6-build-182900-60012/root/chroot_tmpdir/scmroot/leapp-repository Cloning into '/var/lib/mock/dist-an8.6-build-182900-60012/root/chroot_tmpdir/scmroot/leapp-repository'... $ git reset --hard e0b9d516ce819c5cf8e1818ca1fef3318ff1cfc1 HEAD is now at e0b9d51 [feature] Avoid backup files rewitten by a host with same hostname on remote server.