使用远程仓库
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 projectsgit fetch
默认