$ git clone -n https://gitee.com/zhoujiajia111/git-lfs.git /var/lib/mock/dist-an23-build-466613-73981/root/chroot_tmpdir/scmroot/git-lfs Cloning into '/var/lib/mock/dist-an23-build-466613-73981/root/chroot_tmpdir/scmroot/git-lfs'... $ git fetch origin c0a703023af32db3e0582814a21bcf32e388b308:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/git-lfs * [new ref] c0a703023af32db3e0582814a21bcf32e388b308 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c0a7030 Update code from upstream