atongrun

vscode 怎么自定义 push 命令?

  •  
  •   atongrun ·
    atongrun · Aug 11, 2024 · 1883 views
    This topic created in 661 days ago, the information mentioned may be changed or developed.
    5 replies    2024-08-12 10:34:47 +08:00
    atongrun
        1
    atongrun  
    OP
       Aug 11, 2024
    我需要:git push origin HEAD:refs/for/develop ,默认的应该只是 git push origin ?
    lzxz1234
        2
    lzxz1234  
       Aug 12, 2024
    直接用 git 的 alias 不可以吗
    weixiangzhe
        3
    weixiangzhe  
       Aug 12, 2024
    AoEiuV020JP
        4
    AoEiuV020JP  
       Aug 12, 2024
    特殊情况不如直接用命令行, 图形界面就只适合做最基础最普通的操作,
    jim9606
        5
    jim9606  
       Aug 12, 2024 via Android
    看上去你只是想 push 到 origin 上一个不同名的分支
    了解下 git push --set-upstream
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5528 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 01:27 · PVG 09:27 · LAX 18:27 · JFK 21:27
    ♥ Do have faith in what you're doing.