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