<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國際加速解決方案。 廣告
                # 連接一個遠程倉庫 當你克隆一個遠程倉庫的同時,Git 會自動為你的記錄下它的鏈接。默認使用這個名字 “origin” 來標識你所克隆的原始倉庫。 如果你是直接在計算機上創建了一個本地倉庫,這樣就沒有任何一個遠程鏈接被記錄下來。這種情況下,當你嘗試做任何遠程操作之前你就必須先把它連接到一個遠程倉庫上去: ``` $ git remote add crash-course-remote https://github.com/gittower/git-crash-course-remote.git ``` 來讓我們來看看它的結果: ``` $ git remote -v crash-course-remote https://github.com/gittower/git-crash-course-remote.git (fetch) crash-course-remote https://github.com/gittower/git-crash-course-remote.git (push) origin https://github.com/gittower/git-crash-course (fetch) origin https://github.com/gittower/git-crash-course (push) ``` 請注意,每個遠程倉庫包含兩行,第一個是用來進行抓取的 “fetch URL”,第二個是用來把本地倉庫中的數據推送到遠程倉庫 “push URL”。很多情況下這兩個 URLs 都是相同的。然而你當然也可以對抓取(fetch)和推送(push)使用兩個不同的 URLs(例如出于安全和性能方面的考慮)。 此外還要注意到,你可以對一個本地倉庫設置很多個遠程鏈接,這是沒有數量限制的。在上面的例子中你已經看到了一個已經存在的鏈接 “origin” ,其實我們從來也沒有設置過它!在完成某個遠程倉庫的克隆之后,Git 會默認的建立一個名為 “origin” 的遠程倉庫鏈接(還記得嗎?我們曾在本書的開始部分做過這個操作)。和被命名為 “master” 的分支一樣的道理,“origin” 這個名字是默認的。它和其他的遠程倉庫并沒有什么區別。
                  <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>

                              哎呀哎呀视频在线观看