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