Skip to content

使用远程仓库

  • git remote: 列举所有配置的远程仓库
    • origin 是 clone 你项目的远程仓库的默认名称
  • git remote -v: It shows you the URLs that Git has stored for the shortname to be used when reading and writing to that remote.
  • git remote add <shortname> <url>: 添加远程仓库
  • git fetch <remote> to get data from your remote projects
    • git fetch 默认

参考资料