<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 1.在Linux服務器安裝Git yum install git -y tips: 卸載Git :? yum remove git # 2.在Linux生成ssh key ## 1)創建用戶 git config --global user.name "你的名字或昵稱"? git config --global user.email "你的郵箱" ## 2)生成sshkey ssh-keygen -t rsa -C "xxxxx@xxxxx.com" \# 三次回車即可生成 ssh key #SSH-keygen參數說明 密鑰類型可以用?-t?選項指定。如果沒有指定則默認生成用于SSH-2的RSA密鑰。這里使用的是rsa。 同時在密鑰中有一個注釋字段,用-C來指定所指定的注釋,可以方便用戶標識這個密鑰,指出密鑰的用途或其他有用的信息。所以在這里輸入自己的郵箱或者其他都行。 ## 3)查看你的 public key,并把他添加到碼云 cat ~/.ssh/id\_rsa.pub \# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc.... # 3.克隆遠程倉庫(到非空目錄) #mkdir temp #git clone --no-checkout git@github.com:XXX/XXX.git temp \-n,? -- 就是 可以選擇的多個字符的操作 \--no-checkout???? don't create a checkout 不產生checkout操作 #mv temp/.git . #rmdir temp #git branch --set-upstream master origin/master? 或者??git branch --set-upstream dev origin/dev git branch --set-upstream?關聯目的是如果在本地分支下操作: git pull, git push ,不需要指定在命令行指定遠程的分支 #git reset --hard HEAD? ? 第一次還原最新版本,相當于git pull # 4.在項目目錄下b2b2c或者ecstore,創建代碼更新腳本 updatedev.sh ## 1) cd /data/httpd/b2b2c git pull git reset --hard HEAD /usr/local/php56/bin/php app/base/cmd update echo 'Update Completed!' ## 2) #!/bin/bash cd /data/httpd/serbbc git reset --hard HEAD git pull /usr/local/php56/bin/php app/base/cmd update #./insert\_predata.sh echo 'Update completed.' # 5.執行腳本 /bin/bash updatedev.sh
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看