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