V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
superboss01
V2EX  ›  git

git 自动部署问题

  •  
  •   superboss01 · Jul 14, 2017 · 3277 views
    This topic created in 3217 days ago, the information mentioned may be changed or developed.

    ##服务器上进行了 git init --bare 和 post-receive 执行脚本的编写 ( GIT 库 prod)

    ##目前不知道如何将 本地 GIT ( GIT 库 local ) 和 GITOS (类似 GITHUB 上的库) 以及 服务器上的 GIT 库 顺利的关联起来

    1. LOCAL GIT 要 ADD REMOTE 服务器上的 GIT,我应该如何加
    6 replies    2017-07-15 11:32:19 +08:00
    julyclyde
        1
    julyclyde  
       Jul 14, 2017
    git remote add
    cxbig
        2
    cxbig  
       Jul 14, 2017
    互相加 git-remote,另外自动部署建议用对应的工具。
    HowardMei
        3
    HowardMei  
       Jul 15, 2017 via Android
    这个别用脚本,静悄悄地挂了都不知道,用运维工具
    Chyroc
        4
    Chyroc  
       Jul 15, 2017
    git remote add <name> <url>

    Ansible
    leopku
        5
    leopku  
       Jul 15, 2017
    有种东西叫 webhooks

    另外,同推 ansible
    sunwei0325
        6
    sunwei0325  
       Jul 15, 2017
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5710 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 75ms · UTC 07:41 · PVG 15:41 · LAX 00:41 · JFK 03:41
    ♥ Do have faith in what you're doing.