Predict Remote 添加 Result
预测输出 中等
题目
你运行 `git remote 添加原点 <URL>`. 什么做 `git remote -v` show?
代码
git remote add origin https://github.com/user/repo.git
git remote -v
提示
每个 remote 有两者都获取 and 推送 URL.
解释
git remote -v 列表每个 remote 使用它的获取 and 推送 URLs. 之后添加 '原点', 你 see two 行: one for 获取 and one for 推送, 两者都 pointing 到相同 URL. 如果获取 and 推送 differ, 它们 show 不同 URLs.
相关资源
相关课程
相关速查表
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。