V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ruoxie
V2EX  ›  问与答

关于 git remote add upstream

  •  
  •   ruoxie · Apr 8, 2021 · 990 views
    This topic created in 1847 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
    xiri
        1
    xiri  
       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   ·   1172 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 18:11 · PVG 02:11 · LAX 11:11 · JFK 14:11
    ♥ Do have faith in what you're doing.