$ git clone -n https://gitee.com/zhonglingh/lockdev.git /var/lib/mock/dist-an23-build-231716-62547/root/chroot_tmpdir/scmroot/lockdev Cloning into '/var/lib/mock/dist-an23-build-231716-62547/root/chroot_tmpdir/scmroot/lockdev'... $ git reset --hard 2d27fd683dac0698d46bb989697730324ce785b3 HEAD is now at 2d27fd6 Init package from upstream