$ git clone -n https://gitee.com/zhonglingh/lockdev.git /var/lib/mock/dist-an23-build-232207-62571/root/chroot_tmpdir/scmroot/lockdev Cloning into '/var/lib/mock/dist-an23-build-232207-62571/root/chroot_tmpdir/scmroot/lockdev'... $ git reset --hard 839d723404af51651205db12451551decbe0fdd9 HEAD is now at 839d723 Init package from upstream