ruoxie
V2EX  ›  问与答

关于 git remote add upstream

  •  
  •   ruoxie · Apr 8, 2021 · 1140 views
    This topic created in 1913 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   ·   2883 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 13:48 · PVG 21:48 · LAX 06:48 · JFK 09:48
    ♥ Do have faith in what you're doing.