$ git clone -n https://gitee.com/mgb01105731/oprofile.git /var/lib/mock/dist-an23-build-274011-64217/root/chroot_tmpdir/scmroot/oprofile Cloning into '/var/lib/mock/dist-an23-build-274011-64217/root/chroot_tmpdir/scmroot/oprofile'... $ git reset --hard origin/a23 HEAD is now at 2f8628e init upstream from version 1.3.0 $ git lfs pull