<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常用命令 日常使用只要記住下圖6個命令,就可以了。但是熟練使用,恐怕要記住60~100個命令。 ~~~bash # 在當前目錄新建一個Git代碼庫 $ git init ~~~ ~~~bash # 新建一個目錄,將其初始化為Git代碼庫 $ git init [project-name] # 下載一個項目和它的整個代碼歷史 $ git clone [url] ~~~ Git的設置文件為`.gitconfig`,它可以在用戶主目錄下(全局配置),也可以在項目目錄下(項目配置)。 ~~~bash # 顯示當前的Git配置 $ git config --list # 編輯Git配置文件 $ git config -e [--global] # 設置提交代碼時的用戶信息 $ git config [--global] user.name "[name]" $ git config [--global] user.email "[email address]" ~~~ ~~~bash # 添加指定文件到暫存區 $ git add [file1] [file2] ... ~~~ ~~~bash # 添加指定目錄到暫存區,包括子目錄 $ git add [dir] ~~~ ~~~bash # 添加當前目錄的所有文件到暫存區 $ git add . ~~~ ~~~bash # 刪除工作區文件,并且將這次刪除放入暫存區 $ git rm [file1] [file2] ... ~~~ ~~~bash # 改名文件,并且將這個改名放入暫存區 $ git mv [file-original] [file-renamed] ~~~ ~~~bash # 提交暫存區到倉庫區 $ git commit -m [message] ~~~ ~~~bash # 提交暫存區的指定文件到倉庫區 $ git commit [file1] [file2] ... -m [message] ~~~ ~~~bash # 提交工作區自上次commit之后的變化,直接到倉庫區 $ git commit -a ~~~ ~~~bash # 列出所有本地分支 $ git branch ~~~ ~~~bash # 列出所有遠程分支 $ git branch -r ~~~ ~~~bash # 列出所有本地分支和遠程分支 $ git branch -a ~~~ ~~~bash # 新建一個分支,但依然停留在當前分支 $ git branch [branch-name] ~~~ ~~~bash # 新建一個分支,并切換到該分支 $ git checkout -b [branch] ~~~ ~~~bash # 列出所有tag $ git tag ~~~ ~~~bash # 提交指定tag $ git push [remote] [tag] ~~~ ~~~bash # 新建一個分支,指向某個tag $ git checkout -b [branch] [tag] ~~~ ~~~bash # 顯示有變更的文件 $ git status ~~~ ~~~bash # 下載遠程倉庫的所有變動 $ git fetch [remote] ~~~ ~~~bash # 顯示所有遠程倉庫 $ git remote -v ~~~ ~~~bash # 取回遠程倉庫的變化,并與本地分支合并 $ git pull [remote] [branch] ~~~
                  <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>

                              哎呀哎呀视频在线观看