Git学习笔记-远程仓库-ls-remote命令

xiaoxiao2021-02-28  114

功能: List references in a remote repository 命令格式: git ls-remote [--heads] [--tags] [--refs] [--upload-pack=<exec>]      [-q | --quiet] [--exit-code] [--get-url]      [--symref] [<repository> [<refs>…​]] 命令参数: -h --heads -t --tags Limit to only refs/heads and refs/tags, respectively. These options are not mutually exclusive; when given both, references stored in refs/heads and refs/tags are displayed. 命令用法: 1、查看远程仓库所有分支 git ls-remote --heads repo_url
转载请注明原文地址: https://www.6miu.com/read-61265.html

最新回复(0)