Linux command
git-lfs-transfer 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Transfer LFS objects
git lfs transfer
说明
git lfs transfer is a low-level Git LFS protocol helper that implements the pure-SSH transfer protocol introduced in Git LFS 3.0. When a Git LFS server is reached over git+ssh://, the LFS client invokes git lfs transfer on the remote shell to negotiate batch requests, exchange OIDs, and stream object content over the SSH channel — bypassing the HTTP-based "ssh-as-auth" flow used by older LFS deployments. Direct invocation is rare; users normally interact with the protocol indirectly through git lfs push, git lfs pull, git lfs fetch, or any operation that materialises LFS objects.
参数
- --help
- Display help information.
FAQ
What is the git-lfs-transfer command used for?
git lfs transfer is a low-level Git LFS protocol helper that implements the pure-SSH transfer protocol introduced in Git LFS 3.0. When a Git LFS server is reached over git+ssh://, the LFS client invokes git lfs transfer on the remote shell to negotiate batch requests, exchange OIDs, and stream object content over the SSH channel — bypassing the HTTP-based "ssh-as-auth" flow used by older LFS deployments. Direct invocation is rare; users normally interact with the protocol indirectly through git lfs push, git lfs pull, git lfs fetch, or any operation that materialises LFS objects.
How do I run a basic git-lfs-transfer example?
Run `git lfs transfer` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --help do in git-lfs-transfer?
Display help information.