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