Welcome to Centmin Mod Community
Register Now

Beta Branch add tools/gitsetup.sh to automate steps to switch to git updated code base

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 31, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    8:55 AM
    Nginx 1.13.x
    MariaDB 5.5
    add tools/gitsetup.sh to automate steps to switch to git updated code base
    https://community.centminmod.com/threads/working-with-git-command-line-for-updating-centmin-mod-local-copies.2150/

    Continue reading...

    123.08beta03 branch

    * 123.08beta03 branch is the merging of the 3 branches - .08 beta 02 + 123.08lua + 123.08livestats so the new beta has both Nginx Lua + LuaJIT support + new Nginx vhost traffic statistics
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    8:55 AM
    Nginx 1.13.x
    MariaDB 5.5
    Added tools/gitsetup.sh which just automates the steps outlined at Upgrade - Working with git command line for updating Centmin Mod local copies | Centmin Mod Community to switch centmin mod locally installed code base to one that is maintained via git command line

    example of output

    Code:
    cd /usr/local/src/centminmod-123.08beta03/tools
    chmod +x gitsetup.sh
    ./gitsetup.sh      
    
    setup Centmin Mod git sourced install...
    
    download github.com centmin mod 123.08beta03 branch repo
    Cloning into 'centminmod-123.08beta03'...
    remote: Counting objects: 3811, done.
    remote: Compressing objects: 100% (83/83), done.
    remote: Total 3811 (delta 43), reused 0 (delta 0), pack-reused 3726
    Receiving objects: 100% (3811/3811), 959.69 KiB | 273.00 KiB/s, done.
    Resolving deltas: 100% (2672/2672), done.
    Branch 123.08beta03 set up to track remote branch 123.08beta03 from origin.
    Switched to a new branch '123.08beta03'
    
    list all available local branches
            git branch -a
    * 123.08beta03
      master
      remotes/origin/123.06stable
      remotes/origin/123.07stable
      remotes/origin/123.08beta03
      remotes/origin/123.08centos7beta01
      remotes/origin/123.08centos7beta02
      remotes/origin/123.08livestats
      remotes/origin/123.08lua
      remotes/origin/123.08zerodown
      remotes/origin/HEAD -> origin/master
      remotes/origin/master
    
    list git log last commit
            git log -a
    commit 2d41a72a7de261ba0b792bf19eb526a382ea1b57
    Author: George Liu <EMAIL>
    Date:   Sun May 31 14:19:14 2015 +1000
    
        switch cmdir command shortcut back to using alias cmd
    
    to update centmin mod 123.08beta03 branch repo via git
            cd /usr/local/src/centminmod-123.08beta03
            git stash
            git pull
            chmod +x centmin.sh