$ git clone -n https://gitee.com/mgb01105731/jdependency_2.git /var/lib/mock/dist-an23-build-272186-64163/root/chroot_tmpdir/scmroot/jdependency_2 Cloning into '/var/lib/mock/dist-an23-build-272186-64163/root/chroot_tmpdir/scmroot/jdependency_2'... $ git reset --hard origin/a23 HEAD is now at 4427694 Init upstream from version 1.2 $ git lfs pull