ruoxie
V2EX  ›  问与答

关于 git remote add upstream

  •  
  •   ruoxie · Apr 8, 2021 · 1216 views
    This topic created in 1952 days ago, the information mentioned may be changed or developed.
    git remote add xxx 跟 git remote add upstream 是否一样的效果,upstream 更具表现意义
    2 replies    2021-04-08 22:29:24 +08:00
    imkuang
        1
    imkuang  
       Apr 8, 2021
    都是一样的,只是给远程仓库的地址起了个名字而已
    你甚至可以不 git remote add,直接 git pull 远程仓库地址、git push 远程仓库地址
    lance6716
        2
    lance6716  
       Apr 8, 2021 via Android
    alias 正好配成了 upstream
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2038 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 16:13 · PVG 00:13 · LAX 09:13 · JFK 12:13
    ♥ Do have faith in what you're doing.