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